mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-13 12:27:49 +00:00
Typo nit in _.uniq tests.
This commit is contained in:
@@ -11053,11 +11053,11 @@
|
|||||||
deepEqual(_.uniq(array), [1, 2, 3]);
|
deepEqual(_.uniq(array), [1, 2, 3]);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('should treat object instances as uniq', 1, function() {
|
test('should treat object instances as unique', 1, function() {
|
||||||
deepEqual(_.uniq(objects), objects);
|
deepEqual(_.uniq(objects), objects);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('should not treat `NaN` as uniq', 1, function() {
|
test('should not treat `NaN` as unique', 1, function() {
|
||||||
deepEqual(_.uniq([1, NaN, 3, NaN]), [1, NaN, 3]);
|
deepEqual(_.uniq([1, NaN, 3, NaN]), [1, NaN, 3]);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user