summaryrefslogtreecommitdiff
path: root/test/built-ins/Proxy/getPrototypeOf/not-extensible-not-same-proto-throws.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Proxy/getPrototypeOf/not-extensible-not-same-proto-throws.js')
-rw-r--r--test/built-ins/Proxy/getPrototypeOf/not-extensible-not-same-proto-throws.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/built-ins/Proxy/getPrototypeOf/not-extensible-not-same-proto-throws.js b/test/built-ins/Proxy/getPrototypeOf/not-extensible-not-same-proto-throws.js
index a834aca9e..0569ed4ed 100644
--- a/test/built-ins/Proxy/getPrototypeOf/not-extensible-not-same-proto-throws.js
+++ b/test/built-ins/Proxy/getPrototypeOf/not-extensible-not-same-proto-throws.js
@@ -25,7 +25,9 @@ info: |
...
---*/
-var target = Object.create({ foo: 1 });
+var target = Object.create({
+ foo: 1
+});
var p = new Proxy(target, {
getPrototypeOf: function() {
@@ -36,5 +38,5 @@ var p = new Proxy(target, {
Object.preventExtensions(target);
assert.throws(TypeError, function() {
- Object.getPrototypeOf(p);
+ Object.getPrototypeOf(p);
});