Minor _.where test cleanup.

This commit is contained in:
John-David Dalton
2014-12-29 01:18:29 -06:00
parent df87b9ff56
commit 2e5e279a14

View File

@@ -13569,10 +13569,8 @@
'z': { 'a': 1, 'b': 2 }
};
var actual = _.where(object, { 'a': 1 }),
expected = [object.x, object.z];
deepEqual(actual, expected);
var actual = _.where(object, { 'a': 1 });
deepEqual(actual, [object.x, object.z]);
});
test('should work in a lazy chain sequence', 1, function() {