From a6ab6078f6aa2a864be156ab55b5734134d1d92c Mon Sep 17 00:00:00 2001 From: Dan Villa Date: Thu, 1 Dec 2016 08:14:27 -0800 Subject: [PATCH] test: refactor test-child-process-double-pipe Update test to use strictEqual instead of equal to remove error. PR-URL: https://github.com/nodejs/node/pull/9930 Reviewed-By: Prince John Wesley Reviewed-By: Colin Ihrig Reviewed-By: Anna Henningsen Reviewed-By: James M Snell --- test/parallel/test-child-process-double-pipe.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-child-process-double-pipe.js b/test/parallel/test-child-process-double-pipe.js index 2d9805d687635c..c5b7c093af8a4a 100644 --- a/test/parallel/test-child-process-double-pipe.js +++ b/test/parallel/test-child-process-double-pipe.js @@ -91,5 +91,5 @@ sed.stdout.on('data', function(data) { }); sed.stdout.on('end', function(code) { - assert.equal(result, 'hellO' + os.EOL + 'nOde' + os.EOL + 'wOrld' + os.EOL); + assert.strictEqual(result, `hellO${os.EOL}nOde${os.EOL}wOrld${os.EOL}`); });