Skip to content

Commit d5bf736

Browse files
pastaktargos
authored andcommitted
test: fix the arguments order in assert.strictEqual
PR-URL: #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>
1 parent effe307 commit d5bf736

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-stream-writable-destroy.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ const { inherits } = require('util');
189189
const expected = new Error('kaboom');
190190

191191
write.destroy(expected, common.mustCall(function(err) {
192-
assert.strictEqual(expected, err);
192+
assert.strictEqual(err, expected);
193193
}));
194194
}
195195

0 commit comments

Comments
 (0)