diff options
author | André Bargull <andre.bargull@gmail.com> | 2015-08-11 17:53:17 +0200 |
---|---|---|
committer | André Bargull <andre.bargull@gmail.com> | 2015-08-11 17:53:17 +0200 |
commit | 44bc67797e18007cddc14ad2f41196abfe214129 (patch) | |
tree | c1a95e3d18cbad5f15ee9ea4d809e5bd25278583 /test/built-ins/Object/defineProperties/15.2.3.7-5-b-203.js | |
parent | 0a37298b4686b9f3a81a16036c9af1c1a18611bd (diff) | |
download | qtdeclarative-testsuites-44bc67797e18007cddc14ad2f41196abfe214129.tar.gz |
Replace runTestCase with assert helpers [test/built-ins/Object/defineProperties]
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-5-b-203.js')
-rw-r--r-- | test/built-ins/Object/defineProperties/15.2.3.7-5-b-203.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-5-b-203.js b/test/built-ins/Object/defineProperties/15.2.3.7-5-b-203.js index 86c32e9cd..2cd46064c 100644 --- a/test/built-ins/Object/defineProperties/15.2.3.7-5-b-203.js +++ b/test/built-ins/Object/defineProperties/15.2.3.7-5-b-203.js @@ -6,10 +6,8 @@ es5id: 15.2.3.7-5-b-203 description: > Object.defineProperties - 'get' property of 'descObj' is inherited accessor property without a get function (8.10.5 step 7.a) -includes: [runTestCase.js] ---*/ -function testcase() { var obj = {}; var proto = {}; @@ -27,6 +25,4 @@ function testcase() { property: descObj }); - return typeof (obj.property) === "undefined"; - } -runTestCase(testcase); +assert.sameValue(typeof (obj.property), "undefined", 'typeof (obj.property)'); |