1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-25 12:36:11 +03:00

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

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

View File

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