Skip to content
This repository was archived by the owner on Aug 31, 2018. It is now read-only.

Commit d2c3dcb

Browse files
Deep-Sixaddaleax
authored andcommitted
test: improve message for assert.strictEqual()
PR-URL: nodejs/node#16013 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent aa53fde commit d2c3dcb

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • test/addons-napi/test_exception

test/addons-napi/test_exception/test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ let caughtError;
1111

1212
// Test that the native side successfully captures the exception
1313
let returnedError = test_exception.returnException(throwTheError);
14-
assert.strictEqual(theError, returnedError,
15-
'Returned error is strictly equal to the thrown error');
14+
assert.strictEqual(theError, returnedError);
1615

1716
// Test that the native side passes the exception through
1817
assert.throws(

0 commit comments

Comments
 (0)