summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-36.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-36.js')
-rw-r--r--test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-36.js10
1 files changed, 1 insertions, 9 deletions
diff --git a/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-36.js b/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-36.js
index 80a7b1a10..8348c8209 100644
--- a/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-36.js
+++ b/test/built-ins/Object/getOwnPropertyNames/15.2.3.4-4-36.js
@@ -6,11 +6,8 @@ es5id: 15.2.3.4-4-36
description: >
Object.getOwnPropertyNames - inherited data properties are not
pushed into the returned array
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var proto = { "parent": "parent" };
var Con = function () { };
@@ -21,10 +18,5 @@ function testcase() {
var result = Object.getOwnPropertyNames(child);
for (var p in result) {
- if (result[p] === "parent") {
- return false;
- }
+ assert.notSameValue(result[p], "parent", 'result[p]');
}
- return true;
- }
-runTestCase(testcase);