Skip to content

Commit dc05fe1

Browse files
committed
test: fix lint errors in test-http-early-hints-invalid-argument
1 parent 79bd80c commit dc05fe1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-http-early-hints-invalid-argument.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ const testResBody = 'response content\n';
5454

5555
assert.throws(() => {
5656
res.writeEarlyHints({
57-
link: '</styles.css>; rel=preload; as=style',
57+
'link': '</styles.css>; rel=preload; as=style',
5858
'X-Custom': 'valid\r\nSet-Cookie: session=evil',
5959
});
6060
}, (err) => err.code === 'ERR_INVALID_CHAR');
6161

6262
assert.throws(() => {
6363
res.writeEarlyHints({
64-
link: '</styles.css>; rel=preload; as=style',
64+
'link': '</styles.css>; rel=preload; as=style',
6565
'X-Custom\r\nSet-Cookie: session=evil': 'value',
6666
});
6767
}, (err) => err.code === 'ERR_INVALID_HTTP_TOKEN');

0 commit comments

Comments
 (0)