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
Neeraj Sharma 8 years ago
committed by Rich Trott
parent
commit
fde5042334
  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.once('exit', common.mustCall(function(exitCode, signalCode) {
assert.equal(exitCode, 42);
assert.equal(signalCode, null);
assert.strictEqual(exitCode, 42);
assert.strictEqual(signalCode, null);
}));

Loading…
Cancel
Save