From 43c2cb4ba8b23e7058def061ac36cbaa12c4b4b9 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Thu, 17 Apr 2014 07:32:28 -0700 Subject: [PATCH] Remove unneeded `lodashBizarro` tests. --- test/test.js | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/test/test.js b/test/test.js index 023b7b81f..d73f97004 100644 --- a/test/test.js +++ b/test/test.js @@ -492,7 +492,7 @@ } }); - test('should avoid overwritten native methods', 12, function() { + test('should avoid overwritten native methods', 9, function() { function Foo() {} function message(methodName) { @@ -564,20 +564,6 @@ actual = null; } strictEqual(actual, true, message('String#contains')); - - _.each(['trim', 'trimLeft', 'trimRight'], function(methodName) { - try { - var actual = [ - lodashBizarro[methodName](whitespace + 'a b c' + whitespace), - lodashBizarro[methodName](''), - lodashBizarro[methodName]('-_-a-b-c-_-', '_-'), - lodashBizarro[methodName]('', '_-') - ]; - } catch(e) { - actual = null; - } - ok(_.every(actual, _.isString), message('String#' + methodName)); - }); } else { skipTest(12);