Add underscore tests to sauce.

This commit is contained in:
John-David Dalton
2013-11-03 12:49:15 -08:00
parent f83119e188
commit 869a361d09
4 changed files with 146 additions and 41 deletions

View File

@@ -122,6 +122,9 @@ $(document).ready(function() {
(function(){ args = arguments; })(1, 2, 3);
result = _.union(args, [2, 30, 1], [1, 40]);
equal(result.join(' '), '1 2 3 30 40', 'takes the union of a list of arrays');
result = _.union(null, [1, 2, 3]);
deepEqual(result, [null, 1, 2, 3]);
});
test("difference", function() {