From ed9f8acc790984061fc9eedc4f8aaa718bfe5e93 Mon Sep 17 00:00:00 2001 From: Richard Markins Date: Fri, 12 Oct 2018 09:51:11 -0700 Subject: [PATCH] test: correct assert test PR-URL: https://github.com/nodejs/node/pull/23463 Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Gireesh Punathil Reviewed-By: Sakthipriyan Vairamani --- test/parallel/test-console-instance.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-console-instance.js b/test/parallel/test-console-instance.js index 5a2e10b419cb03..0b69212948dd2c 100644 --- a/test/parallel/test-console-instance.js +++ b/test/parallel/test-console-instance.js @@ -72,7 +72,7 @@ c.log('test'); c.error('test'); out.write = common.mustCall((d) => { - assert.strictEqual('{ foo: 1 }\n', d); + assert.strictEqual(d, '{ foo: 1 }\n'); }); c.dir({ foo: 1 });