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 codebytere committed Dec 13, 2018
1 parent 84a9ba4 commit d175a2e
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 d175a2e

Please sign in to comment.