test: fix the arguments order in assert.strictEqual

PR-URL: https://github.com/nodejs/node/pull/24620
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>
Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
Reviewed-By: Masashi Hirano <shisama07@gmail.com>
This commit is contained in:
pastak authored and Rich Trott committed 2018-11-29 12:49:56 -08:00
1 parent cda6b20816
commit 97fedefc18
1 file changed
+1 -1
@@ -189,7 +189,7 @@ const { inherits } = require('util');
const expected = new Error('kaboom');
write.destroy(expected, common.mustCall(function(err) {
assert.strictEqual(expected, err);
assert.strictEqual(err, expected);
}));
}