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