From 7615a0f2cd3635c8b4940ebd8553b989216c6e70 Mon Sep 17 00:00:00 2001 From: Wes Tyler Date: Thu, 1 Dec 2016 10:06:40 -0600 Subject: [PATCH] test: refactor test-child-process-stdio-inherit assert.equal() -> assert.strictEqual() PR-URL: https://github.com/nodejs/node/pull/9893 Reviewed-By: Santiago Gimeno Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: James M Snell --- test/parallel/test-child-process-stdio-inherit.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/parallel/test-child-process-stdio-inherit.js b/test/parallel/test-child-process-stdio-inherit.js index 409c0af7ca0d31..dc3bb3e9aa9391 100644 --- a/test/parallel/test-child-process-stdio-inherit.js +++ b/test/parallel/test-child-process-stdio-inherit.js @@ -22,10 +22,10 @@ function grandparent() { child.stdin.end(input); child.on('close', function(code, signal) { - assert.equal(code, 0); - assert.equal(signal, null); + assert.strictEqual(code, 0); + assert.strictEqual(signal, null); // cat on windows adds a \r\n at the end. - assert.equal(output.trim(), input.trim()); + assert.strictEqual(output.trim(), input.trim()); }); }