Browse Source

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>
v6.x
Neeraj Sharma 8 years ago
committed by Myles Borins
parent
commit
61105d75fb
  1. 4
      test/parallel/test-cwd-enoent-repl.js

4
test/parallel/test-cwd-enoent-repl.js

@ -23,6 +23,6 @@ proc.stdin.write('require("path");\n');
proc.stdin.write('process.exit(42);\n'); proc.stdin.write('process.exit(42);\n');
proc.once('exit', common.mustCall(function(exitCode, signalCode) { proc.once('exit', common.mustCall(function(exitCode, signalCode) {
assert.equal(exitCode, 42); assert.strictEqual(exitCode, 42);
assert.equal(signalCode, null); assert.strictEqual(signalCode, null);
})); }));

Loading…
Cancel
Save