test case for lexing a lone string
This commit is contained in:
parent
7d409ba27c
commit
a264b81e57
@ -73,3 +73,8 @@ def test_full_recurse():
|
|||||||
],
|
],
|
||||||
['fn1', 'foo', 'bar']
|
['fn1', 'foo', 'bar']
|
||||||
] == tokenize("(fn el (+ 1 2 (== 1 20) (- 1 1)))(fn1 foo bar)")
|
] == tokenize("(fn el (+ 1 2 (== 1 20) (- 1 1)))(fn1 foo bar)")
|
||||||
|
|
||||||
|
|
||||||
|
def test_string():
|
||||||
|
""" Lex a lone string """
|
||||||
|
assert ['"a string"'] == tokenize('"a string"')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user