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