| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -33,7 +33,8 @@ assert.strictEqual(test_exception.wasPending(), true, | |||
| 33 | 33 | // Test that the native side does not capture a non-existing exception | |
| 34 | 34 | returnedError = test_exception.returnException(common.mustCall()); | |
| 35 | 35 | assert.strictEqual(undefined, returnedError, | |
| 36 | - 'Returned error is undefined when no exception is thrown'); | ||
| 36 | + 'Returned error should be undefined when no exception is' + | ||
| 37 | + ` thrown, but ${returnedError} was passed`); | ||
| 37 | 38 | ||
| 38 | 39 | // Test that no exception appears that was not thrown by us | |
| 39 | 40 | try { | |
@@ -42,7 +43,8 @@ try { | |||
| 42 | 43 | caughtError = anError; | |
| 43 | 44 | } | |
| 44 | 45 | assert.strictEqual(undefined, caughtError, | |
| 45 | - 'No exception originated on the native side'); | ||
| 46 | + 'No exception originated on the native side, but' + | ||
| 47 | + ` ${caughtError} was passed`); | ||
| 46 | 48 | ||
| 47 | 49 | // Test that the exception state remains clear when no exception is thrown | |
| 48 | 50 | assert.strictEqual(test_exception.wasPending(), false, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments