1
0
forked from Mirror/wren

Added test and fixed skipping whitespace

This commit is contained in:
Aleksander
2015-01-03 14:57:34 +01:00
parent dd686a808d
commit 150ea237e9
2 changed files with 18 additions and 1 deletions

17
test/whitespace.wren Normal file
View 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