Skip to content

Commit 99dbdca

Browse files
VeysonDtargos
authored andcommitted
test: update strictEqual argument order
PR-URL: #24622 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]>
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)