diff options
author | André Bargull <andre.bargull@gmail.com> | 2015-08-11 17:52:55 +0200 |
---|---|---|
committer | André Bargull <andre.bargull@gmail.com> | 2015-08-11 17:52:55 +0200 |
commit | 0a37298b4686b9f3a81a16036c9af1c1a18611bd (patch) | |
tree | 3eab9ed8c1e8ec55208ee9dfc4ab2154ee04ce2c /test/built-ins/Object/defineProperty/15.2.3.6-3-200.js | |
parent | c2a61d1735a4eda4d7c104e9609d04f71af6c515 (diff) | |
download | qtdeclarative-testsuites-0a37298b4686b9f3a81a16036c9af1c1a18611bd.tar.gz |
Replace runTestCase with assert helpers [test/built-ins/Object/defineProperty]
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-200.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-3-200.js | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-200.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-200.js index d744016c7..286cb4f5d 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-3-200.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-200.js @@ -6,10 +6,8 @@ es5id: 15.2.3.6-3-200 description: > Object.defineProperty - 'writable' property in 'Attributes' is the Argument object (8.10.5 step 6.b) -includes: [runTestCase.js] ---*/ -function testcase() { var obj = {}; var argObj = (function () { return arguments; })(1, true, "a"); @@ -22,6 +20,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'); |