summaryrefslogtreecommitdiff
path: root/test/built-ins/JSON/stringify/value-proxy-revoked.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/JSON/stringify/value-proxy-revoked.js')
-rw-r--r--test/built-ins/JSON/stringify/value-proxy-revoked.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/built-ins/JSON/stringify/value-proxy-revoked.js b/test/built-ins/JSON/stringify/value-proxy-revoked.js
index 81cd50d98..24b34f5dc 100644
--- a/test/built-ins/JSON/stringify/value-proxy-revoked.js
+++ b/test/built-ins/JSON/stringify/value-proxy-revoked.js
@@ -38,9 +38,5 @@ assert.throws(TypeError, function() {
}, 'top-level value');
assert.throws(TypeError, function() {
- JSON.stringify([
- [
- [handle.proxy]
- ]
- ]);
+ JSON.stringify([[[handle.proxy]]]);
}, 'nested value');