Skip to content

Commit 99dbdca

Browse files
VeysonDtargos
authored andcommitted
test: update strictEqual argument order
PR-URL: #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>
1 parent 99b018b commit 99dbdca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ const { inherits } = require('util');
176176

177177
read.on('close', common.mustCall());
178178
read.destroy(expected, common.mustCall(function(err) {
179-
assert.strictEqual(expected, err);
179+
assert.strictEqual(err, expected);
180180
}));
181181
}
182182

0 commit comments

Comments
 (0)