Skip to content

Commit

Permalink
test: fixing arguments order in assert.strictEqual()
Browse files Browse the repository at this point in the history
PR-URL: #24152
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
  • Loading branch information
gcarcaci authored and Trott committed Nov 8, 2018
1 parent 730ec83 commit 00d412d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-event-emitter-add-listeners.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ const EventEmitter = require('events');
});

const hello = common.mustCall(function(a, b) {
assert.strictEqual('a', a);
assert.strictEqual('b', b);
assert.strictEqual(a, 'a');
assert.strictEqual(b, 'b');
});

ee.once('newListener', function(name, listener) {
Expand Down

0 comments on commit 00d412d

Please sign in to comment.