Browse Source

test: change assert.strict to assert.strictEqual()

PR-URL: https://github.com/nodejs/node/pull/9988
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
v4.x
Ashita Nagesh 8 years ago
committed by Myles Borins
parent
commit
b87ee26b96
No known key found for this signature in database GPG Key ID: 933B01F40B5CA946
  1. 8
      test/parallel/test-domain-with-abort-on-uncaught-exception.js

8
test/parallel/test-domain-with-abort-on-uncaught-exception.js

@ -125,15 +125,15 @@ if (process.argv[2] === 'child') {
} else { } else {
// By default, uncaught exceptions make node exit with an exit // By default, uncaught exceptions make node exit with an exit
// code of 7. // code of 7.
assert.equal(exitCode, 7); assert.strictEqual(exitCode, 7);
assert.equal(signal, null); assert.strictEqual(signal, null);
} }
} else { } else {
// If the top-level domain's error handler does not throw, // If the top-level domain's error handler does not throw,
// the process must exit gracefully, whether or not // the process must exit gracefully, whether or not
// --abort_on_uncaught_exception was passed on the command line // --abort_on_uncaught_exception was passed on the command line
assert.equal(exitCode, 0); assert.strictEqual(exitCode, 0);
assert.equal(signal, null); assert.strictEqual(signal, null);
} }
}); });
} }

Loading…
Cancel
Save