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