Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: fix the arguments order in assert.strictEqual
  • Loading branch information
pastak committed Nov 24, 2018
commit 6fcd2c46cebd629f3b3aada596d15f711b2c4457
2 changes: 1 addition & 1 deletion test/parallel/test-stream-writable-destroy.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ const { inherits } = require('util');
const expected = new Error('kaboom');

write.destroy(expected, common.mustCall(function(err) {
assert.strictEqual(expected, err);
assert.strictEqual(err, expected);
}));
}

Expand Down