Bug 856246 - Adjust filter-very-few to adapt to varying input sizes. rs=tests

This commit is contained in:
Nicholas D. Matsakis 2013-06-12 11:10:23 -04:00
parent 8f35a473d2
commit ea92c8c271

View File

@ -1,3 +1,3 @@
load(libdir + "parallelarray-helpers.js");
if (getBuildConfiguration().parallelJS)
compareAgainstArray(range(0, minItemsTestingThreshold), "filter", function(i) { return i <= 1 || i >= 1022; });
compareAgainstArray(range(0, minItemsTestingThreshold), "filter", function(i) { return i <= 1 || i >= minItemsTestingThreshold - 2; });