1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 20:42:21 +02:00

Fixed some indenting issues, added indenting test

This commit is contained in:
Brian Fiete 2019-10-04 10:36:53 -07:00
parent df4573dca1
commit e5de09488e
7 changed files with 213 additions and 14 deletions

View file

@ -0,0 +1,46 @@
ShowFile("src/Indent01.bf")
GotoText("//Test01")
AdjustCursor(0, -1)
CursorToLineEnd()
AssertIsAtColumn("Indent01.bf", 17)
GotoText("//Test02")
AdjustCursor(0, -1)
CursorToLineEnd()
AssertIsAtColumn("Indent01.bf", 21)
GotoText("//Test03")
AdjustCursor(0, -1)
CursorToLineEnd()
AssertIsAtColumn("Indent01.bf", 21)
GotoText("//Test04")
AdjustCursor(0, -1)
CursorToLineEnd()
AssertIsAtColumn("Indent01.bf", 25)
GotoText("//Test05")
AdjustCursor(0, -1)
CursorToLineEnd()
AssertIsAtColumn("Indent01.bf", 25)
GotoText("//Test06")
AdjustCursor(0, -1)
CursorToLineEnd()
AssertIsAtColumn("Indent01.bf", 21)
GotoText("//Test07")
AdjustCursor(0, -1)
CursorToLineEnd()
AssertIsAtColumn("Indent01.bf", 25)
GotoText("//Test08")
AdjustCursor(0, -1)
CursorToLineEnd()
AssertIsAtColumn("Indent01.bf", 21)
GotoText("//Test09")
AdjustCursor(0, -1)
CursorToLineEnd()
AssertIsAtColumn("Indent01.bf", 17)