summaryrefslogtreecommitdiff
path: root/test/built-ins/Proxy/get/not-same-value-configurable-false-writable-false-throws.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Proxy/get/not-same-value-configurable-false-writable-false-throws.js')
-rw-r--r--test/built-ins/Proxy/get/not-same-value-configurable-false-writable-false-throws.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/built-ins/Proxy/get/not-same-value-configurable-false-writable-false-throws.js b/test/built-ins/Proxy/get/not-same-value-configurable-false-writable-false-throws.js
index ce6f0a1fc..af8cb6739 100644
--- a/test/built-ins/Proxy/get/not-same-value-configurable-false-writable-false-throws.js
+++ b/test/built-ins/Proxy/get/not-same-value-configurable-false-writable-false-throws.js
@@ -17,21 +17,21 @@ info: |
var target = {};
var p = new Proxy(target, {
- get: function() {
- return 2;
- }
+ get: function() {
+ return 2;
+ }
});
Object.defineProperty(target, 'attr', {
- configurable: false,
- writable: false,
- value: 1
+ configurable: false,
+ writable: false,
+ value: 1
});
assert.throws(TypeError, function() {
- p.attr;
+ p.attr;
});
assert.throws(TypeError, function() {
- p['attr'];
+ p['attr'];
});