diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-01-10 23:05:30 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-01-10 23:05:30 -0800 |
commit | c06457a7de9473bf71c06baec314e14868be14e9 (patch) | |
tree | c2d3cf1bd1f33406181f18570353f1a0db94645f /tests | |
parent | 07a0d613fceaf12fd7bf2f900223ac925908c76e (diff) | |
download | txr-c06457a7de9473bf71c06baec314e14868be14e9.tar.gz txr-c06457a7de9473bf71c06baec314e14868be14e9.tar.bz2 txr-c06457a7de9473bf71c06baec314e14868be14e9.zip |
json: add tests with multi-line literals.
* tests/010/json.tl: New tests. These work. Odd; I'm seeing
an issue whereby typing multi-line #J expressions into the
listener does not work.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/010/json.tl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/010/json.tl b/tests/010/json.tl index e23d36d4..dfd45173 100644 --- a/tests/010/json.tl +++ b/tests/010/json.tl @@ -62,6 +62,16 @@ #J{ "a" : 1.0 } #H(() (a 1.0)) #J{ "a" : 1.0, "b" : [null] } #H(() (a 1.0) (b #(null))) +(mtest + #J[ + ] #() + #J[1, + 2, + 3] #(1.0 2.0 3.0) + #J{"foo": + "bar"} + #H(() ("foo" "bar"))) + (let ((*print-circle* t)) (mstest #J[#1="abc", #1#] "#(#1=\"abc\" #1#)" |