Skip to content

Commit

Permalink
test: update strictEqual argument order
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
VeysonD authored and BethGriggs committed Feb 12, 2019
1 parent e338e50 commit 3811817
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 3811817

Please sign in to comment.