mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 07:47:49 +00:00
Remove test which will now lock up _.times.
This commit is contained in:
@@ -10151,11 +10151,6 @@
|
||||
QUnit.module('lodash.times');
|
||||
|
||||
(function() {
|
||||
test('should rollover large `n` values', 1, function() {
|
||||
var actual = _.times(Math.pow(2, 32) + 1);
|
||||
deepEqual(actual, [0]);
|
||||
});
|
||||
|
||||
test('should coerce non-finite `n` values to `0`', 3, function() {
|
||||
_.each([-Infinity, NaN, Infinity], function(n) {
|
||||
deepEqual(_.times(n), []);
|
||||
|
||||
Reference in New Issue
Block a user