Minor _.includes test cleanup.

This commit is contained in:
John-David Dalton
2016-07-24 08:37:47 -07:00
parent 6402af7db9
commit 3ad0cbc86d

View File

@@ -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));