diff options
Diffstat (limited to 'tools/golangci-lint/gitaly/testdata/src/testhelper_run_blackbox/testhelper_run_blackbox_test.go')
-rw-r--r-- | tools/golangci-lint/gitaly/testdata/src/testhelper_run_blackbox/testhelper_run_blackbox_test.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/golangci-lint/gitaly/testdata/src/testhelper_run_blackbox/testhelper_run_blackbox_test.go b/tools/golangci-lint/gitaly/testdata/src/testhelper_run_blackbox/testhelper_run_blackbox_test.go new file mode 100644 index 000000000..d1cb4dd1c --- /dev/null +++ b/tools/golangci-lint/gitaly/testdata/src/testhelper_run_blackbox/testhelper_run_blackbox_test.go @@ -0,0 +1,12 @@ +package testhelper_run_blackbox_test // want "no TestMain in package testhelper_run_blackbox_test" + +import ( + "testhelper_run_blackbox" + "testing" +) + +func TestFoo(t *testing.T) { + if testhelper_run_blackbox.Foo() != "bar" { + t.FailNow() + } +} |