mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-12 20:07:49 +00:00
Add "use strict" directive to strict mode test.
This commit is contained in:
@@ -16985,6 +16985,8 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
QUnit.test('`_.' + methodName + '` should not error on paths over primitives in strict mode', function(assert) {
|
QUnit.test('`_.' + methodName + '` should not error on paths over primitives in strict mode', function(assert) {
|
||||||
|
'use strict';
|
||||||
|
|
||||||
assert.expect(2);
|
assert.expect(2);
|
||||||
|
|
||||||
numberProto.a = 0;
|
numberProto.a = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user