mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 21:58:48 +02:00
test: remove common.fail()
common.fail() was added to paste over issues with assert.fail() function signature. assert.fail() has been updated to accept a single argument so common.fail() is no longer necessary. PR-URL: https://github.com/nodejs/node/pull/12293 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
6f202ef857
commit
06c29a66d4
51 changed files with 101 additions and 106 deletions
|
@ -66,7 +66,7 @@ server.listen(common.PIPE, common.mustCall(function() {
|
|||
}));
|
||||
|
||||
req.on('error', function(e) {
|
||||
common.fail(e.stack);
|
||||
assert.fail(e.stack);
|
||||
});
|
||||
|
||||
req.end();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue