mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
test: use strictEqual in test-cwd-enoent-repl.js
In file /test/parallel/test-cwd-enoent-repl.js at line: 26:3 and 27:3 assert.equal was used. This commit changes use of assert.equal to assert.strictEqual. PR-URL: https://github.com/nodejs/node/pull/9952 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
committed by
Rich Trott
parent
3c8a3a594e
commit
fde5042334
@@ -23,6 +23,6 @@ proc.stdin.write('require("path");\n');
|
||||
proc.stdin.write('process.exit(42);\n');
|
||||
|
||||
proc.once('exit', common.mustCall(function(exitCode, signalCode) {
|
||||
assert.equal(exitCode, 42);
|
||||
assert.equal(signalCode, null);
|
||||
assert.strictEqual(exitCode, 42);
|
||||
assert.strictEqual(signalCode, null);
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user