testing thinger
This commit is contained in:
parent
5975f2c8d6
commit
11fe591d38
@ -6,3 +6,17 @@ def test_list_lex():
|
|||||||
assert fn == [
|
assert fn == [
|
||||||
"fn", ["1", "2", "3", "4"]
|
"fn", ["1", "2", "3", "4"]
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
def test_list_recurse():
|
||||||
|
fn = tokenize("(fn [1 2 3 4 [5 6 7]])")[0]
|
||||||
|
assert fn == [
|
||||||
|
"fn", ["1", "2", "3", "4", ["5", "6", "7"]]
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
def test_double_rainbow():
|
||||||
|
fn = tokenize("(fn [1 2 3 4] [5 6 7])")[0]
|
||||||
|
assert fn == [
|
||||||
|
"fn", ["1", "2", "3", "4"], ["5", "6", "7"]
|
||||||
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user