Skip to content

Commit 07c6a44

Browse files
author
Yannick Scherer
committed
add tests for reader conditional with whitespace before list.
1 parent f4a078d commit 07c6a44

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/rewrite_clj/parser_test.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,8 @@
192192
"#macro 1" :reader-macro [:token :whitespace :token]
193193
"#macro (* 2 3)" :reader-macro [:token :whitespace :list]
194194
"#?(:clj bar)" :reader-macro [:token :list]
195-
"#?@(:clj bar)" :reader-macro [:token :list]
195+
"#? (:clj bar)" :reader-macro [:token :whitespace :list]
196+
"#?@ (:clj bar)" :reader-macro [:token :whitespace :list]
196197
"#?foo baz" :reader-macro [:token :whitespace :token]
197198
"#_abc" :uneval [:token]
198199
"#_(+ 1 2)" :uneval [:list]

0 commit comments

Comments
 (0)