summaryrefslogtreecommitdiff
path: root/test/parallel/test-sync-io-option.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-sync-io-option.js')
-rw-r--r--test/parallel/test-sync-io-option.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/parallel/test-sync-io-option.js b/test/parallel/test-sync-io-option.js
index 6166bffc0b..fb0b2333e8 100644
--- a/test/parallel/test-sync-io-option.js
+++ b/test/parallel/test-sync-io-option.js
@@ -18,14 +18,14 @@ if (process.argv[2] === 'child') {
args = execArgv.concat(args);
if (!args[0]) args.shift();
execFile(process.execPath, args, function(err, stdout, stderr) {
- assert.equal(err, null);
- assert.equal(stdout, '');
+ assert.strictEqual(err, null);
+ assert.strictEqual(stdout, '');
if (/WARNING[\s\S]*fs\.readFileSync/.test(stderr))
cntr++;
if (args[0] === '--trace-sync-io') {
- assert.equal(cntr, 1);
+ assert.strictEqual(cntr, 1);
} else if (args[0] === __filename) {
- assert.equal(cntr, 0);
+ assert.strictEqual(cntr, 0);
} else {
throw new Error('UNREACHABLE');
}