Add go test cases for bad indentation edge case

This commit is contained in:
John Isom 2020-07-27 12:18:40 -06:00
parent de214d262c
commit 504d309894
4 changed files with 21 additions and 0 deletions

View File

@ -10,3 +10,6 @@ func foo(x int) int {%( )bar()
func foo(x int) int {
bar()%( )}
func foo(x int) int {
bar()%( )}

View File

@ -15,3 +15,7 @@ func foo(x int) int {
func foo(x int) int {
bar()
}
func foo(x int) int {
bar()
}

View File

@ -8,6 +8,9 @@
{%( )bar()
}
{
bar()%( )}
{
bar()%( )}
@ -23,3 +26,6 @@
{(
bar()%( ))}
{(
bar()%( ))}

View File

@ -12,6 +12,10 @@
bar()
}
{
bar()
}
{
bar()
}
@ -33,3 +37,7 @@
{(
bar()
)}
{(
bar()
)}