Skip to content

Commit

Permalink
Update collections.js
Browse files Browse the repository at this point in the history
Fix assertion description
  • Loading branch information
liroyleshed authored May 2, 2018
1 parent 2851e9a commit e35f79f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/collections.js
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@

QUnit.test('includes with NaN', function(assert) {
assert.strictEqual(_.includes([1, 2, NaN, NaN], NaN), true, 'Expected [1, 2, NaN] to contain NaN');
assert.strictEqual(_.includes([1, 2, Infinity], NaN), false, 'Expected [1, 2, NaN] to contain NaN');
assert.strictEqual(_.includes([1, 2, Infinity], NaN), false, 'Expected [1, 2, Infinity] to NOT contain NaN');
});

QUnit.test('includes with +- 0', function(assert) {
Expand Down

0 comments on commit e35f79f

Please sign in to comment.