Browse Source

Removed from tests.

contingency-plan
Oskar Segersvärd 10 years ago
parent
commit
15d541f675
  1. 1
      test/function/object-dynamic-properties/main.js
  2. 12
      test/function/object-dynamic-properties/tags.js

1
test/function/object-dynamic-properties/main.js

@ -1,3 +1,4 @@
import tags from './tags'; import tags from './tags';
assert(tags['[object Object]'], true); assert(tags['[object Object]'], true);
assert(Object.keys(tags).length, 6);

12
test/function/object-dynamic-properties/tags.js

@ -1,13 +1,13 @@
// Emulates a piece of Lodash source code. // Emulates a piece of Lodash source code.
// The tag strings are not imported, and a runtime error ensues. // The tag strings are not imported, and a runtime error ensues.
let objTag = '[object Object]'; var objTag = '[object Object]';
let arrTag = '[object Array]'; var arrTag = '[object Array]';
let fnTag = '[object Function]'; var fnTag = '[object Function]';
let dateTag = '[object Date]'; var dateTag = '[object Date]';
let strTag = '[object String]'; var strTag = '[object String]';
let numTag = '[object Number]'; var numTag = '[object Number]';
// Only the code below is included in the bundle. // Only the code below is included in the bundle.

Loading…
Cancel
Save