We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 371ca03 commit b73f6b7Copy full SHA for b73f6b7
test/parallel/test-child-process-spawn-error.js
@@ -5,13 +5,13 @@ var assert = require('assert');
5
6
var enoentPath = 'foo123';
7
var spawnargs = ['bar'];
8
-assert.equal(common.fileExists(enoentPath), false);
+assert.strictEqual(common.fileExists(enoentPath), false);
9
10
var enoentChild = spawn(enoentPath, spawnargs);
11
enoentChild.on('error', common.mustCall(function(err) {
12
- assert.equal(err.code, 'ENOENT');
13
- assert.equal(err.errno, 'ENOENT');
14
- assert.equal(err.syscall, 'spawn ' + enoentPath);
15
- assert.equal(err.path, enoentPath);
+ assert.strictEqual(err.code, 'ENOENT');
+ assert.strictEqual(err.errno, 'ENOENT');
+ assert.strictEqual(err.syscall, 'spawn ' + enoentPath);
+ assert.strictEqual(err.path, enoentPath);
16
assert.deepStrictEqual(err.spawnargs, spawnargs);
17
}));
0 commit comments