aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/go/multiple-vars.go
blob: f89a82e901d8ea82ae4834f9ab0ac38b754430bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package main

var (
	thing    = 1
	thingTwo = 2
) // <-- This paren should be at 0 instead of indented

var (
	thing    = 1
	thingTwo = 2
)

func main() {
	// It should be
	var (
		thing    = 1
		thingTwo = 2
	)
}