Skip to content

Commit c033f84

Browse files
committed
Write tests for namespaces support on keywords.
1 parent 0941a6b commit c033f84

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/escodegen.wisp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@
5555
(is (= (transpile "foo/bar") "foo.bar;"))
5656
(is (= (transpile "foo.bar/baz") "foo_bar.baz;"))
5757

58+
;; =>
59+
;; keywords
60+
61+
(is (= (transpile ":foo") "'foo';"))
62+
(is (= (transpile ":foo/bar") "'foo/bar';"))
63+
(is (= (transpile ":foo.bar/baz") "'foo.bar/baz';"))
64+
5865

5966
;; =>
6067
;; re-pattern

0 commit comments

Comments
 (0)