summaryrefslogtreecommitdiff
path: root/test/built-ins/JSON/stringify/15.12.3-6-b-4.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/JSON/stringify/15.12.3-6-b-4.js')
-rw-r--r--test/built-ins/JSON/stringify/15.12.3-6-b-4.js17
1 files changed, 13 insertions, 4 deletions
diff --git a/test/built-ins/JSON/stringify/15.12.3-6-b-4.js b/test/built-ins/JSON/stringify/15.12.3-6-b-4.js
index de0330367..e492e43a3 100644
--- a/test/built-ins/JSON/stringify/15.12.3-6-b-4.js
+++ b/test/built-ins/JSON/stringify/15.12.3-6-b-4.js
@@ -8,8 +8,17 @@ description: >
is equivalent to a string of spaces of that length.
---*/
- var obj = {a1: {b1: [1,2,3,4], b2: {c1: 1, c2: 2}},a2: 'a2'};
- var fiveSpaces = ' ';
- // '12345'
+var obj = {
+ a1: {
+ b1: [1, 2, 3, 4],
+ b2: {
+ c1: 1,
+ c2: 2
+ }
+ },
+ a2: 'a2'
+};
+var fiveSpaces = ' ';
+// '12345'
-assert.sameValue(JSON.stringify(obj,null, 5), JSON.stringify(obj, null, fiveSpaces), 'JSON.stringify(obj,null, 5)');
+assert.sameValue(JSON.stringify(obj, null, 5), JSON.stringify(obj, null, fiveSpaces), 'JSON.stringify(obj,null, 5)');