Skip to content
Closed
Show file tree
Hide file tree
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
up up up one line
remove typo
  • Loading branch information
Bamieh committed Feb 9, 2018
commit 6840cf3796475df025f0e0103a255119aff6a017
3 changes: 1 addition & 2 deletions test/parallel/test-http-exceptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ function onUncaughtException(err) {
}

process.on('uncaughtException',
common.mustCall(onUncaughtException, NUMBER_OF_EXCEPTIONS)
);
common.mustCall(onUncaughtException, NUMBER_OF_EXCEPTIONS));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit, the common.mustCall is obsolete here, because the test will not execute countdown.dec() in case it would not be called and would then fail because the wrapper around the countdown would fail.


server.listen(0, function() {
for (let i = 0; i < NUMBER_OF_EXCEPTIONS; i += 1) {
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-http2-no-more-streams.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ server.listen(0, common.mustCall(() => {
const countdown = new Countdown(2, () => {
server.close();
client.close();
}));
});

{
// This one will be ok
Expand Down