Skip to content

Commit

Permalink
fixup! assert: validate required arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
BridgeAR committed Mar 14, 2019
1 parent 7f786ad commit f5e9493
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/parallel/test-assert.js
Original file line number Diff line number Diff line change
Expand Up @@ -1187,3 +1187,13 @@ assert.throws(
() => a.notDeepStrictEqual(undefined),
{ code: 'ERR_MISSING_ARGS' }
);

assert.throws(
() => a.strictEqual(),
{ code: 'ERR_MISSING_ARGS' }
);

assert.throws(
() => a.deepStrictEqual(),
{ code: 'ERR_MISSING_ARGS' }
);

0 comments on commit f5e9493

Please sign in to comment.