Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
assert: add tests to assert.ok and improve coverage
  • Loading branch information
estrada9166 committed Jun 23, 2019
commit 62084f41f298380ce93ece14351e266a0d917381
2 changes: 1 addition & 1 deletion test/parallel/test-assert.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ assert.throws(() => a.ok(false), a.AssertionError, 'ok(false)');
threw = true;
assert.ok(e instanceof Error);
}
assert.ok(threw, 'Error: ok(true)');
assert.ok(threw, 'Error: ok(false)');
}


Expand Down