diff options
Diffstat (limited to 'gocapturedrefrace_test.go')
-rw-r--r-- | gocapturedrefrace_test.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gocapturedrefrace_test.go b/gocapturedrefrace_test.go new file mode 100644 index 0000000..d2e82b2 --- /dev/null +++ b/gocapturedrefrace_test.go @@ -0,0 +1,14 @@ +package gocapturedrefrace_test + +import ( + "testing" + + "golang.org/x/tools/go/analysis/analysistest" + "gopkg.teddywing.com/gocapturedrefrace" +) + +func Test(t *testing.T) { + testdata := analysistest.TestData() + + analysistest.Run(t, testdata, gocapturedrefrace.Analyzer, ".") +} |