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-134.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-134.js')
-rw-r--r-- | test/built-ins/Object/defineProperties/15.2.3.7-5-b-134.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-5-b-134.js b/test/built-ins/Object/defineProperties/15.2.3.7-5-b-134.js index f9608e56b..1030ea5b6 100644 --- a/test/built-ins/Object/defineProperties/15.2.3.7-5-b-134.js +++ b/test/built-ins/Object/defineProperties/15.2.3.7-5-b-134.js @@ -7,10 +7,8 @@ description: > Object.defineProperties - 'descObj' is an Error object which implements its own [[Get]] method to get 'value' property (8.10.5 step 5.a) -includes: [runTestCase.js] ---*/ -function testcase() { var obj = {}; var descObj = new Error(); @@ -21,6 +19,4 @@ function testcase() { property: descObj }); - return obj.property === "Error"; - } -runTestCase(testcase); +assert.sameValue(obj.property, "Error", 'obj.property'); |