From b534b83756952f12a9c0f1b5396ad8acc26746ff Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Fri, 4 Sep 2015 01:02:47 -0700 Subject: [PATCH] Fix failing tests in strict mode. --- test/test.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/test/test.js b/test/test.js index 8d975d580..c7ec4ba73 100644 --- a/test/test.js +++ b/test/test.js @@ -8847,12 +8847,7 @@ }); test('`_.' + methodName + '` should work with `arguments` objects', 1, function() { - if (!isStrict) { - deepEqual(func(args).sort(), ['0', '1', '2']); - } - else { - skipTest(); - } + deepEqual(func(args).sort(), ['0', '1', '2']); }); test('`_.' + methodName + '` should return keys for custom properties on `arguments` objects', 1, function() { @@ -16252,7 +16247,7 @@ test('should return `false` for non-configurable properties', 1, function() { var object = {}; - if (defineProperty) { + if (!isStrict && defineProperty) { defineProperty(object, 'a', { 'configurable': false, 'value': 1