Skip to content

Commit

Permalink
test: update strictEqual argument order
Browse files Browse the repository at this point in the history
PR-URL: nodejs#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>
  • Loading branch information
VeysonD authored and Trott committed Nov 28, 2018
1 parent 7bc5300 commit ec396e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-stream-readable-destroy.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ const { inherits } = require('util');

read.on('close', common.mustCall());
read.destroy(expected, common.mustCall(function(err) {
assert.strictEqual(expected, err);
assert.strictEqual(err, expected);
}));
}

Expand Down

0 comments on commit ec396e4

Please sign in to comment.