Skip to content

Commit

Permalink
Fix minor issue in tests in set
Browse files Browse the repository at this point in the history
  • Loading branch information
leshakoss committed Sep 11, 2019
1 parent 88e3df9 commit d54413e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/set/test.js
Expand Up @@ -132,12 +132,12 @@ describe('set', function() {

it('throws RangeError exception if `values` is not an object', function() {
// $ExpectedMistake
assert.throws(set.bind(null, new Date(), null), RangeError)
assert.throws(set.bind(null, new Date(), true), RangeError)
})

it('throws RangeError exception if `values` is null', function() {
// $ExpectedMistake
assert.throws(set.bind(null, new Date(), true), RangeError)
assert.throws(set.bind(null, new Date(), null), RangeError)
})
})
})

0 comments on commit d54413e

Please sign in to comment.