From bec03b00b60afe09249f9ad8fefe64bbdc58c058 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. --- 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, ''); }));