aboutsummaryrefslogtreecommitdiff
path: root/test/suites/encoding-flags/indent-array
diff options
context:
space:
mode:
Diffstat (limited to 'test/suites/encoding-flags/indent-array')
-rw-r--r--test/suites/encoding-flags/indent-array/env1
-rw-r--r--test/suites/encoding-flags/indent-array/input1
-rw-r--r--test/suites/encoding-flags/indent-array/output4
3 files changed, 6 insertions, 0 deletions
diff --git a/test/suites/encoding-flags/indent-array/env b/test/suites/encoding-flags/indent-array/env
new file mode 100644
index 0000000..273232a
--- /dev/null
+++ b/test/suites/encoding-flags/indent-array/env
@@ -0,0 +1 @@
+export JSON_INDENT=4
diff --git a/test/suites/encoding-flags/indent-array/input b/test/suites/encoding-flags/indent-array/input
new file mode 100644
index 0000000..44e2ace
--- /dev/null
+++ b/test/suites/encoding-flags/indent-array/input
@@ -0,0 +1 @@
+[1, 2]
diff --git a/test/suites/encoding-flags/indent-array/output b/test/suites/encoding-flags/indent-array/output
new file mode 100644
index 0000000..c57d705
--- /dev/null
+++ b/test/suites/encoding-flags/indent-array/output
@@ -0,0 +1,4 @@
+[
+ 1,
+ 2
+] \ No newline at end of file