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:
parent
7bc5300e2b
commit
ec396e42c6
@ -176,7 +176,7 @@ const { inherits } = require('util');
|
|||||||
|
|
||||||
read.on('close', common.mustCall());
|
read.on('close', common.mustCall());
|
||||||
read.destroy(expected, common.mustCall(function(err) {
|
read.destroy(expected, common.mustCall(function(err) {
|
||||||
assert.strictEqual(expected, err);
|
assert.strictEqual(err, expected);
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user