diff options
Diffstat (limited to 'test/sequential/test-child-process-execsync.js')
-rw-r--r-- | test/sequential/test-child-process-execsync.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sequential/test-child-process-execsync.js b/test/sequential/test-child-process-execsync.js index b898eb8904..fcb923a38f 100644 --- a/test/sequential/test-child-process-execsync.js +++ b/test/sequential/test-child-process-execsync.js @@ -41,7 +41,7 @@ cmd = `"${process.execPath}" -e "console.log(\'${msg}\');"`; ret = execSync(cmd); assert.strictEqual(ret.length, msgBuf.length); -assert.deepEqual(ret, msgBuf, 'execSync result buffer should match'); +assert.deepStrictEqual(ret, msgBuf, 'execSync result buffer should match'); ret = execSync(cmd, { encoding: 'utf8' }); @@ -53,7 +53,7 @@ var args = [ ]; ret = execFileSync(process.execPath, args); -assert.deepEqual(ret, msgBuf); +assert.deepStrictEqual(ret, msgBuf); ret = execFileSync(process.execPath, args, { encoding: 'utf8' }); |