2022-07-15 15:32:10 +02:00

10 lines
174 B
Go

//golangcitest:args -Egofmt
package testdata
import "fmt"
func GofmtNotSimplified() {
var x []string
fmt.Print(x[1:len(x)]) // ERROR "File is not `gofmt`-ed with `-s`"
}