Added unit test for lexer
This commit is contained in:
6
tests/parser/all
Normal file
6
tests/parser/all
Normal file
@@ -0,0 +1,6 @@
|
||||
# normal tokens
|
||||
--- rn rr nw -> 239 -120 + - / * -- ++ [{[skadjsk 2039.32]}] 0x5FC2D
|
||||
"skdjlsakdj" '\n'
|
||||
|
||||
# erroneous tokens (poorly spaced)
|
||||
---rnrrnw->239-120+-/*--++
|
||||
7
tests/parser/indent
Normal file
7
tests/parser/indent
Normal file
@@ -0,0 +1,7 @@
|
||||
line1
|
||||
line2
|
||||
line3
|
||||
|
||||
line4
|
||||
|
||||
line5
|
||||
Reference in New Issue
Block a user