golangci-lint/test/testdata/stylecheck_not_in_megacheck.go

10 lines
153 B
Go

//golangcitest:args -Emegacheck
//golangcitest:expected_exitcode 0
package testdata
func StylecheckNotInMegacheck(x int) {
if 0 == x {
panic(x)
}
}