mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 18:37:50 +00:00
Minor _.where test cleanup.
This commit is contained in:
@@ -13569,10 +13569,8 @@
|
|||||||
'z': { 'a': 1, 'b': 2 }
|
'z': { 'a': 1, 'b': 2 }
|
||||||
};
|
};
|
||||||
|
|
||||||
var actual = _.where(object, { 'a': 1 }),
|
var actual = _.where(object, { 'a': 1 });
|
||||||
expected = [object.x, object.z];
|
deepEqual(actual, [object.x, object.z]);
|
||||||
|
|
||||||
deepEqual(actual, expected);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
test('should work in a lazy chain sequence', 1, function() {
|
test('should work in a lazy chain sequence', 1, function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user