mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-13 20:37:48 +00:00
Minor _.includes test cleanup.
This commit is contained in:
@@ -8153,10 +8153,10 @@
|
|||||||
QUnit.test('should work as an iteratee for methods like `_.every`', function(assert) {
|
QUnit.test('should work as an iteratee for methods like `_.every`', function(assert) {
|
||||||
assert.expect(1);
|
assert.expect(1);
|
||||||
|
|
||||||
var array1 = [1, 2, 3],
|
var array = [2, 3, 1],
|
||||||
array2 = [2, 3, 1];
|
values = [1, 2, 3];
|
||||||
|
|
||||||
assert.ok(lodashStable.every(array1, lodashStable.partial(_.includes, array2)));
|
assert.ok(lodashStable.every(values, lodashStable.partial(_.includes, array)));
|
||||||
});
|
});
|
||||||
}(1, 2, 3, 4));
|
}(1, 2, 3, 4));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user