github.com/chenfeining/golangci-lint@v1.0.2-0.20230730162517-14c6c67868df/test/testdata/stylecheck_not_in_megacheck.go (about)

     1  //golangcitest:args -Emegacheck
     2  //golangcitest:expected_exitcode 0
     3  package testdata
     4  
     5  func StylecheckNotInMegacheck(x int) {
     6  	if 0 == x {
     7  		panic(x)
     8  	}
     9  }