Browse Source

test: improve domain-top-level-error-handler-throw

Use assert.strictEqual instead of assert.equal.

PR-URL: https://github.com/nodejs/node/pull/9950
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
v4.x
CodeVana 8 years ago
committed by Michaël Zasso
parent
commit
4022579b6e
  1. 4
      test/parallel/test-domain-top-level-error-handler-throw.js

4
test/parallel/test-domain-top-level-error-handler-throw.js

@ -45,8 +45,8 @@ if (process.argv[2] === 'child') {
var expectedExitCode = 7; var expectedExitCode = 7;
var expectedSignal = null; var expectedSignal = null;
assert.equal(exitCode, expectedExitCode); assert.strictEqual(exitCode, expectedExitCode);
assert.equal(signal, expectedSignal); assert.strictEqual(signal, expectedSignal);
}); });
} }
} }

Loading…
Cancel
Save