diff --git a/testifycheck/testifycheck_test.go b/testifycheck/testifycheck_test.go index 6abb9ac..c1e3b71 100644 --- a/testifycheck/testifycheck_test.go +++ b/testifycheck/testifycheck_test.go @@ -1,12 +1,19 @@ package testifycheck import ( + "os" + "os/exec" "testing" "golang.org/x/tools/go/analysis/analysistest" ) func Test(t *testing.T) { + debugOut, err := exec.Command("go", "env", "GOROOT").CombinedOutput() + if err != nil { + _, _ = os.Stderr.Write(debugOut) + } + testdata := analysistest.TestData() analysistest.Run(t, testdata, Analyzer, "tests/...") }