shad-go/testifycheck/testifycheck_test.go
Fedor Korotkiy 908c002d58 Debug CI
2021-04-30 11:55:37 +03:00

19 lines
356 B
Go

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/...")
}