summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_10.js
diff options
context:
space:
mode:
authorAndré Bargull <andre.bargull@gmail.com>2015-08-11 17:53:40 +0200
committerAndré Bargull <andre.bargull@gmail.com>2015-08-11 17:53:40 +0200
commit4f35b40617f9902f56839bd3bc0ba9e7664301c8 (patch)
tree787b6369b126f8f113e3a85242103cf1986e2cdf /test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_10.js
parent44bc67797e18007cddc14ad2f41196abfe214129 (diff)
downloadqtdeclarative-testsuites-4f35b40617f9902f56839bd3bc0ba9e7664301c8.tar.gz
Replace runTestCase with assert helpers [test/built-ins/Object]
Diffstat (limited to 'test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_10.js')
-rw-r--r--test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_10.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_10.js b/test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_10.js
index 7a952e209..0e5e905e3 100644
--- a/test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_10.js
+++ b/test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_10.js
@@ -6,14 +6,9 @@ es5id: 8.12.1-1_10
description: >
Properties - [[HasOwnProperty]] (writable, configurable,
non-enumerable own value property)
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var o = {};
Object.defineProperty(o, "foo", {value: 42, writable:true, configurable:true});
- return o.hasOwnProperty("foo");
-}
-runTestCase(testcase);
+assert(o.hasOwnProperty("foo"), 'o.hasOwnProperty("foo") !== true');