From 2174f10db5d813bf8786d8775f0b347909644f73 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Tue, 15 Apr 2014 01:21:55 -0700 Subject: [PATCH] Excuse invalid underscore `_.intersection` tests. --- test/underscore.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/underscore.html b/test/underscore.html index 21a5ebfc3..f60b53d70 100644 --- a/test/underscore.html +++ b/test/underscore.html @@ -35,7 +35,9 @@ 'initial works on arguments object' ], 'intersection': [ - 'can perform an OO-style intersection' + 'can perform an OO-style intersection', + 'returns an empty array when passed null as first argument', + 'returns an empty array when passed null as argument beyond the first' ], 'rest': [ 'aliased as drop and works on arguments object', @@ -138,8 +140,8 @@ if (!ui.isModularize) { delete QUnit.config.excused.Functions.partial; } + QUnit.config.excused.Arrays.intersection.shift(); delete QUnit.config.excused.Arrays.initial; - delete QUnit.config.excused.Arrays.intersection; delete QUnit.config.excused.Arrays.rest; delete QUnit.config.excused.Chaining; delete QUnit.config.excused.Collections.map;