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 Rod Vagg committed 2019-02-28 23:37:36 +11:00
1 parent 28aca7748f
commit eecb2a4e91
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);
}));
}