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: nodejs#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 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.