shad-go/lectures/12-analysis/jokelint/analysis_test.go

13 lines
216 B
Go
Raw Normal View History

2021-04-27 18:37:22 +00:00
package jokelint
import (
"testing"
"golang.org/x/tools/go/analysis/analysistest"
)
func TestAnalysis(t *testing.T) {
testdata := analysistest.TestData()
analysistest.Run(t, testdata, Analyzer, "tests/...")
}