From 837acf13947c6e1b4f1d70d30999467f28774e0c Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sat, 26 Dec 2015 22:08:24 -0600 Subject: [PATCH] Add "use strict" directive to strict mode test. --- test/test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test.js b/test/test.js index 7c0b772fc..10b2a6483 100644 --- a/test/test.js +++ b/test/test.js @@ -16985,6 +16985,8 @@ }); QUnit.test('`_.' + methodName + '` should not error on paths over primitives in strict mode', function(assert) { + 'use strict'; + assert.expect(2); numberProto.a = 0;