forked from Mirror/wren
Added test and fixed skipping whitespace
This commit is contained in:
17
test/whitespace.wren
Normal file
17
test/whitespace.wren
Normal file
@ -0,0 +1,17 @@
|
||||
// No indent
|
||||
IO.print("ok") // expect: ok
|
||||
|
||||
// Indent with space
|
||||
IO.print("ok") // expect: ok
|
||||
|
||||
// Indent with tab
|
||||
IO.print("ok") // expect: ok
|
||||
|
||||
// Indent with space then tab
|
||||
IO.print("ok") // expect: ok
|
||||
|
||||
// Indent with tab then space
|
||||
IO.print("ok") // expect: ok
|
||||
|
||||
// Indent with mixed tab and space
|
||||
IO.print("ok") // expect: ok
|
||||
Reference in New Issue
Block a user