diff options
author | Tracy Hinds <tracyhinds@gmail.com> | 2016-12-01 11:24:13 -0600 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2016-12-05 19:54:13 -0800 |
commit | 5247a0b9a8d5a8c8e04ee060e6528097be23cc40 (patch) | |
tree | a5a657b598dd1b19bafc155d65ead07f3be8edc2 /test/parallel/test-domain-abort-on-uncaught.js | |
parent | 27c0a0ca9d5c6b554616c5e0e311c48d8c6257a7 (diff) | |
download | android-node-v8-5247a0b9a8d5a8c8e04ee060e6528097be23cc40.tar.gz android-node-v8-5247a0b9a8d5a8c8e04ee060e6528097be23cc40.tar.bz2 android-node-v8-5247a0b9a8d5a8c8e04ee060e6528097be23cc40.zip |
test: replace equal with strictEqual
PR-URL: https://github.com/nodejs/node/pull/10011
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/parallel/test-domain-abort-on-uncaught.js')
-rw-r--r-- | test/parallel/test-domain-abort-on-uncaught.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-domain-abort-on-uncaught.js b/test/parallel/test-domain-abort-on-uncaught.js index 2a5eb804bc..d61debc060 100644 --- a/test/parallel/test-domain-abort-on-uncaught.js +++ b/test/parallel/test-domain-abort-on-uncaught.js @@ -227,7 +227,7 @@ if (process.argv[2] === 'child') { tests[testIndex](); process.on('exit', function onExit() { - assert.equal(errorHandlerCalled, true); + assert.strictEqual(errorHandlerCalled, true); }); } else { @@ -248,7 +248,7 @@ if (process.argv[2] === 'child') { var child = child_process.exec(testCmd); child.on('exit', function onExit(code, signal) { - assert.equal(code, 0, 'Test at index ' + testIndex + + assert.strictEqual(code, 0, 'Test at index ' + testIndex + ' should have exited with exit code 0 but instead exited with code ' + code + ' and signal ' + signal); }); |