summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/defineProperty/15.2.3.6-4-412.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-4-412.js')
-rw-r--r--test/built-ins/Object/defineProperty/15.2.3.6-4-412.js11
1 files changed, 4 insertions, 7 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-4-412.js b/test/built-ins/Object/defineProperty/15.2.3.6-4-412.js
index c1f192ad7..03459242f 100644
--- a/test/built-ins/Object/defineProperty/15.2.3.6-4-412.js
+++ b/test/built-ins/Object/defineProperty/15.2.3.6-4-412.js
@@ -6,10 +6,8 @@ es5id: 15.2.3.6-4-412
description: >
ES5 Attributes - [[Value]] field of inherited property of
[[Prototype]] internal property is correct(Object.create)
-includes: [runTestCase.js]
---*/
-function testcase() {
var appointment = {};
Object.defineProperty(appointment, "startTime", {
@@ -39,8 +37,7 @@ function testcase() {
!teamMeeting.hasOwnProperty("startTime") &&
!teamMeeting.hasOwnProperty('conferenceCall');
- return hasOwnProperty && teamMeeting.name === "NAME" &&
- teamMeeting.startTime === 1001 &&
- teamMeeting.conferenceCall === "In-person meeting";
- }
-runTestCase(testcase);
+assert(hasOwnProperty, 'hasOwnProperty !== true');
+assert.sameValue(teamMeeting.name, "NAME", 'teamMeeting.name');
+assert.sameValue(teamMeeting.startTime, 1001, 'teamMeeting.startTime');
+assert.sameValue(teamMeeting.conferenceCall, "In-person meeting", 'teamMeeting.conferenceCall');