diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-167.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-3-167.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-167.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-167.js index 2f07f91a8..9514ee522 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-3-167.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-167.js @@ -7,10 +7,8 @@ description: > Object.defineProperty - 'Attributes' is a String object that uses Object's [[Get]] method to access the 'writable' property (8.10.5 step 6.a) -includes: [runTestCase.js] ---*/ -function testcase() { var obj = {}; var strObj = new String("abc"); @@ -25,6 +23,5 @@ function testcase() { var afterWrite = (obj.property === "isWritable"); - return beforeWrite === true && afterWrite === true; - } -runTestCase(testcase); +assert.sameValue(beforeWrite, true, 'beforeWrite'); +assert.sameValue(afterWrite, true, 'afterWrite'); |