mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
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 <princejohnwesley@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
47c925a4ac
commit
b71d3fd748
1 file changed
+1
-1
@@ -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}`);
|
||||
});
|
||||
Reference in new issue
Block a user