cp foo.go foo.go.orig
cp foo.go foo.go.golden
exec gofmt -w foo.go.golden

gofumpt -w foo.go
cmp foo.go foo.go.golden

cp foo.go.orig foo.go
gofumpt -w .
cmp foo.go foo.go.golden

-- foo.go --
// foo is a package about bar.

// Code generated by foo. DO NOT EDIT.
// versions:
// 	foo v1.26.0
package foo

type i interface {

	a(x int) int

	b(x int) int

	c(x int) int
}
