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