package nilfunc_test | |
import ( | |
"testing" | |
"golang.org/x/tools/go/analysis/analysistest" | |
"golang.org/x/tools/go/analysis/passes/nilfunc" | |
) | |
func Test(t *testing.T) { | |
testdata := analysistest.TestData() | |
analysistest.Run(t, testdata, nilfunc.Analyzer, "a") | |
} |