summaryrefslogtreecommitdiff
path: root/test/built-ins/Proxy/ownKeys/trap-is-not-callable.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Proxy/ownKeys/trap-is-not-callable.js')
-rw-r--r--test/built-ins/Proxy/ownKeys/trap-is-not-callable.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/built-ins/Proxy/ownKeys/trap-is-not-callable.js b/test/built-ins/Proxy/ownKeys/trap-is-not-callable.js
index 6b95478ae..20ed2a8fd 100644
--- a/test/built-ins/Proxy/ownKeys/trap-is-not-callable.js
+++ b/test/built-ins/Proxy/ownKeys/trap-is-not-callable.js
@@ -16,10 +16,12 @@ info: |
4. If IsCallable(func) is false, throw a TypeError exception.
---*/
-var p = new Proxy({attr:1}, {
- ownKeys: {}
+var p = new Proxy({
+ attr: 1
+}, {
+ ownKeys: {}
});
assert.throws(TypeError, function() {
- Object.keys(p);
+ Object.keys(p);
});