diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-146.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-3-146.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-146.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-146.js index 60ee40575..fc99527fb 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-3-146.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-146.js @@ -7,10 +7,8 @@ description: > Object.defineProperty - 'Attributes' is a RegExp object that uses Object's [[Get]] method to access the 'value' property (8.10.5 step 5.a) -includes: [runTestCase.js] ---*/ -function testcase() { var obj = { }; var regObj = new RegExp(); @@ -19,6 +17,4 @@ function testcase() { Object.defineProperty(obj, "property", regObj); - return obj.property === "RegExp"; - } -runTestCase(testcase); +assert.sameValue(obj.property, "RegExp", 'obj.property'); |