From 9d1ee39fbd676a026061b28593e33a8df751ba10 Mon Sep 17 00:00:00 2001 From: Luis Gallon Date: Fri, 21 Jun 2019 17:15:01 -0500 Subject: [PATCH] test: fix order of assertion arguments in test-event-emitter-num-args --- test/parallel/test-event-emitter-num-args.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-event-emitter-num-args.js b/test/parallel/test-event-emitter-num-args.js index 2de86fdf08b0d6..8bb22743033ca4 100644 --- a/test/parallel/test-event-emitter-num-args.js +++ b/test/parallel/test-event-emitter-num-args.js @@ -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]); });