mirror of
https://github.com/kanaka/mal.git
synced 2024-08-16 17:20:23 +03:00
step 6: Test reading strings containing bare newlines.
The official regexps permit bare newlines in strings, and the mal implementation currently contains one.
This commit is contained in:
parent
d5061dccb9
commit
0d17edb428
@ -12,6 +12,9 @@
|
||||
(read-string "(+ 2 3)")
|
||||
;=>(+ 2 3)
|
||||
|
||||
(read-string "\"\n\"")
|
||||
;=>"\n"
|
||||
|
||||
(read-string "7 ;; comment")
|
||||
;=>7
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user