mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
test: update strictEqual argument order
PR-URL: https://github.com/nodejs/node/pull/24622 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
64c5f033ed
commit
23b289a113
1 file changed
+1
-1
@@ -176,7 +176,7 @@ const { inherits } = require('util');
|
||||
|
||||
read.on('close', common.mustCall());
|
||||
read.destroy(expected, common.mustCall(function(err) {
|
||||
assert.strictEqual(expected, err);
|
||||
assert.strictEqual(err, expected);
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user