1
1
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:
Ben Harris 2019-08-21 20:50:48 +01:00
parent d5061dccb9
commit 0d17edb428

View File

@ -12,6 +12,9 @@
(read-string "(+ 2 3)")
;=>(+ 2 3)
(read-string "\"\n\"")
;=>"\n"
(read-string "7 ;; comment")
;=>7