Skip to content

Commit 450f41e

Browse files
committed
Add assert failure message.
1 parent 6c828a9 commit 450f41e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test-common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@ async function compareExpectedError(test, err) {
890890
try {
891891
expect = test[_getExpectProperty(test)];
892892
result = getJsonLdErrorCode(err);
893-
assert.ok(err);
893+
assert.ok(err, 'no error present');
894894
assert.strictEqual(result, expect);
895895
} catch(err) {
896896
if(options.bailOnError) {

0 commit comments

Comments
 (0)