Skip to content

Commit 16a6107

Browse files
committed
test: drop extra then() handler in header lookup
The must-call-assert rule allows only one argument to Promise.then(). Signed-off-by: Yagiz Nizipli <yagiz@nizipli.com>
1 parent 1fda05a commit 16a6107

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/parallel/test-http-server-raw-header-lookup.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,5 @@ server.listen(0, common.mustCall(() => {
5959
assert.match(missingHost, /^HTTP\/1\.1 400 /);
6060

6161
server.close();
62-
})().then(common.mustCall(), common.mustNotCall());
62+
})().then(common.mustCall());
6363
}));

0 commit comments

Comments
 (0)