summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-10-23 01:47:15 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-10-23 01:47:15 -0700
commitd92448afa4f584186ec4466d28404488ba236dc7 (patch)
treed2dfbd6dad291789393dfbea2125718b31aa0acd /tests
parentb22efb366bc557a98552bdbfb2471f7386464c1f (diff)
downloadtxr-d92448afa4f584186ec4466d28404488ba236dc7.tar.gz
txr-d92448afa4f584186ec4466d28404488ba236dc7.tar.bz2
txr-d92448afa4f584186ec4466d28404488ba236dc7.zip
syntax: add tests for #; syntax.
* tests/012/syntax.tl: New tests, some of which fail.
Diffstat (limited to 'tests')
-rw-r--r--tests/012/syntax.tl12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/012/syntax.tl b/tests/012/syntax.tl
index 87b01d67..36894610 100644
--- a/tests/012/syntax.tl
+++ b/tests/012/syntax.tl
@@ -24,3 +24,15 @@
#; .foo
#;a.b
42 42)
+
+(mtest
+ '(#;abc) nil
+ '(#; abc 1) (1)
+ '(0 #; abc 1) (0 1)
+ '(0 #; abc) (0))
+
+(mtest
+ '(#; .abc) nil
+ '(#; .abc 1) (1)
+ '(0 #; .abc 1) (0 1)
+ '(0 #; .abc) (0))