From 0d9e54b3d61e6b0d286172b3b5a3e1238eb64433 Mon Sep 17 00:00:00 2001 From: Clinton Pahl Date: Fri, 12 Oct 2018 10:31:06 -0700 Subject: [PATCH] test: update strictEqual arguments order The argument order in the strictEqual check against stderr is in the wrong order. The first argument is now the actual value and the second argument is the expected value. PR-URL: https://github.com/nodejs/node/pull/23552 Reviewed-By: Gabriel Schulhof Reviewed-By: James M Snell Reviewed-By: Ruben Bridgewater Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil Reviewed-By: Trivikram Kamat --- test/parallel/test-stdin-from-file.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-stdin-from-file.js b/test/parallel/test-stdin-from-file.js index eda8e068fe37fe..f4fcb32edbfde5 100644 --- a/test/parallel/test-stdin-from-file.js +++ b/test/parallel/test-stdin-from-file.js @@ -36,5 +36,5 @@ childProcess.exec(cmd, common.mustCall(function(err, stdout, stderr) { assert.ifError(err); assert.strictEqual(stdout, `hello world\r\n${string}`); - assert.strictEqual('', stderr); + assert.strictEqual(stderr, ''); }));