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 <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Shingo Inoue <[email protected]> Reviewed-By: Masashi Hirano <[email protected]>
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)