Skip to content

Commit

Permalink
test: fix order of assertion arguments in test-event-emitter-num-args
Browse files Browse the repository at this point in the history
PR-URL: #28368
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
luisgallon authored and targos committed Jul 2, 2019
1 parent e3dd4d5 commit 4973f21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-event-emitter-num-args.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ e.emit('numArgs', null, null, null, null, null);
e.emit('foo', null, null, null, null);

process.on('exit', function() {
assert.deepStrictEqual([0, 1, 2, 3, 4, 5, 4, 4], num_args_emitted);
assert.deepStrictEqual(num_args_emitted, [0, 1, 2, 3, 4, 5, 4, 4]);
});

0 comments on commit 4973f21

Please sign in to comment.