Skip to content

Commit

Permalink
test: remove unnecessary body from .mustNotCall
Browse files Browse the repository at this point in the history
  • Loading branch information
nils91 committed Apr 3, 2021
1 parent 4b2b2ea commit fd97bc5
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@ httpsServer.on('listening', () => {
httpsServer.close();
}));

req.on('error', common.mustNotCall((e) => {
httpsServer.close();
}));
req.on('error', common.mustNotCall());
req.end();
});

0 comments on commit fd97bc5

Please sign in to comment.