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 <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
  • Loading branch information
gcarcaci authored and BridgeAR committed Nov 13, 2018
1 parent fc494cd commit 1242981
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 1242981

Please sign in to comment.