Files
wren/test/language/whitespace.wren
T

27 lines
566 B
Plaintext
Raw Normal View History

2015-01-03 14:57:34 +01:00
// No indent
2015-09-15 07:46:09 -07:00
System.print("ok") // expect: ok
2015-01-03 14:57:34 +01:00
// Indent with space
2015-09-15 07:46:09 -07:00
System.print("ok") // expect: ok
2015-01-03 14:57:34 +01:00
// Indent with tab
2015-09-15 07:46:09 -07:00
System.print("ok") // expect: ok
2015-01-03 14:57:34 +01:00
// Indent with space then tab
2015-09-15 07:46:09 -07:00
System.print("ok") // expect: ok
2015-01-03 14:57:34 +01:00
// Indent with tab then space
2015-09-15 07:46:09 -07:00
System.print("ok") // expect: ok
2015-01-03 14:57:34 +01:00
// Indent with mixed tab and space
2015-09-15 07:46:09 -07:00
System.print("ok") // expect: ok
2015-01-03 15:10:04 +01:00
// Space in with code
2015-09-15 07:46:09 -07:00
System . print ( "ok" ) // expect: ok
2015-01-03 15:10:04 +01:00
// Tab in with code
2015-09-15 07:46:09 -07:00
System . print ( "ok" ) // expect: ok
2015-01-03 15:10:04 +01:00
// Tab and space mixed in with code
2015-09-15 07:46:09 -07:00
System . print ( "ok" ) // expect: ok