Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Escape '.' when checking error message.
  • Loading branch information
niklasi committed Sep 21, 2016
commit 60a1081d595d08d71c2a93c4748eda9c17499321
2 changes: 1 addition & 1 deletion test/parallel/test-http-response-add-header-after-sent.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const server = http.createServer((req, res) => {
res.write('abc');
assert.throws(() => {
res.setHeader('header2', 2);
}, /Can't set headers after they are sent./);
}, /Can't set headers after they are sent\./);
res.end();
});

Expand Down