summaryrefslogtreecommitdiff
path: root/test/built-ins/Proxy/has/return-false-target-not-extensible-using-with.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Proxy/has/return-false-target-not-extensible-using-with.js')
-rw-r--r--test/built-ins/Proxy/has/return-false-target-not-extensible-using-with.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/built-ins/Proxy/has/return-false-target-not-extensible-using-with.js b/test/built-ins/Proxy/has/return-false-target-not-extensible-using-with.js
index 5847413a2..fb3e6f463 100644
--- a/test/built-ins/Proxy/has/return-false-target-not-extensible-using-with.js
+++ b/test/built-ins/Proxy/has/return-false-target-not-extensible-using-with.js
@@ -23,21 +23,21 @@ flags: [noStrict]
var target = {};
var handler = {
- has: function(t, prop) {
- return 0;
- }
+ has: function(t, prop) {
+ return 0;
+ }
};
var p = new Proxy(target, handler);
Object.defineProperty(target, 'attr', {
- configurable: true,
- value: 1
+ configurable: true,
+ value: 1
});
Object.preventExtensions(target);
assert.throws(TypeError, function() {
- with (p) {
- (attr);
- }
+ with(p) {
+ (attr);
+ }
});