
Output File is not `gofmt`-ed insted of File is not `gofmt`-ed with `-s` when gofmt.simplify == false
14 lines
231 B
Go
14 lines
231 B
Go
//args: -Egofmt
|
|
//config: linters-settings.gofmt.simplify=false
|
|
package testdata
|
|
|
|
import "fmt"
|
|
|
|
func GofmtNotSimplifiedOk() {
|
|
var x []string
|
|
fmt.Print(x[1:len(x)])
|
|
}
|
|
|
|
func GofmtBadFormat(){ // ERROR "^File is not `gofmt`-ed$"
|
|
}
|