Update vendor/benchmark.js and vendor/underscore tests.

Former-commit-id: 28d47ac7efb1af2d23a749ea50178c09edfe62bd
This commit is contained in:
John-David Dalton
2013-08-03 21:33:58 -07:00
parent 76dcd7d96e
commit a9bf6a0e3b
4 changed files with 25 additions and 17 deletions

View File

@@ -274,6 +274,12 @@ $(document).ready(function() {
deepEqual(result, {a: 1, b: 2});
result = _.findWhere(list, {b: 4});
deepEqual(result, {a: 1, b: 4});
result = _.findWhere(list, {c:1})
ok(_.isUndefined(result), "undefined when not found");
result = _.findWhere([], {c:1});
ok(_.isUndefined(result), "undefined when searching empty list");
});
test('max', function() {