From 9ba9532716a046a2815f864e13b229fc0eafd9ec Mon Sep 17 00:00:00 2001 From: RayPals Date: Mon, 1 Jun 2026 00:52:38 +0200 Subject: [PATCH] Add tests/21_json_pretty.claro from Claro v1.17.26 zip --- tests/21_json_pretty.claro | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/21_json_pretty.claro diff --git a/tests/21_json_pretty.claro b/tests/21_json_pretty.claro new file mode 100644 index 0000000..0074eb8 --- /dev/null +++ b/tests/21_json_pretty.claro @@ -0,0 +1,10 @@ +SET obj TO MAP +PUT obj KEY "a" VALUE 1 +PUT obj KEY "b" VALUE 2 +SET arr TO LIST +ADD 10 TO arr +ADD 20 TO arr +PUT obj KEY "nums" VALUE arr + +MAKE JSON PRETTY obj AS out +SAY out