Skip to content

Commit 4973f21

Browse files
luisgallontargos
authored andcommitted
test: fix order of assertion arguments in test-event-emitter-num-args
PR-URL: #28368 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Yongsheng Zhang <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent e3dd4d5 commit 4973f21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-event-emitter-num-args.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ e.emit('numArgs', null, null, null, null, null);
5050
e.emit('foo', null, null, null, null);
5151

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

0 commit comments

Comments
 (0)