summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-2-19.js
diff options
context:
space:
mode:
authorAndré Bargull <andre.bargull@gmail.com>2015-08-11 17:52:55 +0200
committerAndré Bargull <andre.bargull@gmail.com>2015-08-11 17:52:55 +0200
commit0a37298b4686b9f3a81a16036c9af1c1a18611bd (patch)
tree3eab9ed8c1e8ec55208ee9dfc4ab2154ee04ce2c /test/built-ins/Object/defineProperty/15.2.3.6-2-19.js
parentc2a61d1735a4eda4d7c104e9609d04f71af6c515 (diff)
downloadqtdeclarative-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-2-19.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-2-19.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-2-19.js b/test/built-ins/Object/defineProperty/15.2.3.6-2-19.js
index 5c7af69e0..bda77ab5e 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-2-19.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-2-19.js
@@ -6,14 +6,9 @@ es5id: 15.2.3.6-2-19
description: >
Object.defineProperty - argument 'P' is a number that converts to
string (value is 1e+22)
-includes: [runTestCase.js]
---*/
-function testcase() {
var obj = {};
Object.defineProperty(obj, 1e+22, {});
- return obj.hasOwnProperty("1e+22");
-
- }
-runTestCase(testcase);
+assert(obj.hasOwnProperty("1e+22"), 'obj.hasOwnProperty("1e+22") !== true');