From 12429812bcb50a7f8391a0cf74ffac0b5e2f5db7 Mon Sep 17 00:00:00 2001 From: "G. Carcaci" Date: Tue, 6 Nov 2018 15:11:59 +0000 Subject: [PATCH] test: fixing arguments order in `assert.strictEqual()` PR-URL: https://github.com/nodejs/node/pull/24152 Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil Reviewed-By: Ruben Bridgewater Reviewed-By: Trivikram Kamat --- test/parallel/test-event-emitter-add-listeners.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-event-emitter-add-listeners.js b/test/parallel/test-event-emitter-add-listeners.js index 45bfd3832caaaf..6ef39522183d4f 100644 --- a/test/parallel/test-event-emitter-add-listeners.js +++ b/test/parallel/test-event-emitter-add-listeners.js @@ -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) {