Skip to content

Commit

Permalink
Runtime errors when parsing shared tests should increment the failed …
Browse files Browse the repository at this point in the history
…test counter
  • Loading branch information
abstrctn committed Jul 11, 2016
1 parent e0fab24 commit 42a2435
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@
console.log('JSON parsing error', slug + '.' + idx);
console.log(parsed.result);
console.log(e);
test.ok(false, 'JSON parsing error: ' + slug + '.' + idx);
test.ok(false, e);
}

} catch(e) {
console.log('AML parsing error', slug + '.' + idx);
console.log(test_aml);
console.log(e);
test.ok(false, 'AML parsing error: ' + slug + '.' + idx);
test.ok(false, e);
}

});
Expand Down

0 comments on commit 42a2435

Please sign in to comment.