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 <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>
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

Lines changed: 1 addition & 1 deletion
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)