diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-2-42.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-2-42.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-2-42.js b/test/built-ins/Object/defineProperty/15.2.3.6-2-42.js index d6ecd16e7..f2eab5c8b 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-2-42.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-2-42.js @@ -6,14 +6,9 @@ es5id: 15.2.3.6-2-42 description: > Object.defineProperty - argument 'P' is a Number Object that converts to a string -includes: [runTestCase.js] ---*/ -function testcase() { var obj = {}; Object.defineProperty(obj, new Number(123), {}); - return obj.hasOwnProperty("123"); - - } -runTestCase(testcase); +assert(obj.hasOwnProperty("123"), 'obj.hasOwnProperty("123") !== true'); |