diff options
author | André Bargull <andre.bargull@gmail.com> | 2015-08-11 17:53:40 +0200 |
---|---|---|
committer | André Bargull <andre.bargull@gmail.com> | 2015-08-11 17:53:40 +0200 |
commit | 4f35b40617f9902f56839bd3bc0ba9e7664301c8 (patch) | |
tree | 787b6369b126f8f113e3a85242103cf1986e2cdf /test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_7.js | |
parent | 44bc67797e18007cddc14ad2f41196abfe214129 (diff) | |
download | qtdeclarative-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_7.js')
-rw-r--r-- | test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_7.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_7.js b/test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_7.js index 0e50a6990..8c6ea6884 100644 --- a/test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_7.js +++ b/test/built-ins/Object/prototype/hasOwnProperty/8.12.1-1_7.js @@ -6,14 +6,9 @@ es5id: 8.12.1-1_7 description: > Properties - [[HasOwnProperty]] (writable, non-configurable, non-enumerable own value property) -includes: [runTestCase.js] ---*/ -function testcase() { - var o = {}; Object.defineProperty(o, "foo", {value: 42, writable:true}); - return o.hasOwnProperty("foo"); -} -runTestCase(testcase); +assert(o.hasOwnProperty("foo"), 'o.hasOwnProperty("foo") !== true'); |