diff options
Diffstat (limited to 'repository/gogit_testing.go')
-rw-r--r-- | repository/gogit_testing.go | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/repository/gogit_testing.go b/repository/gogit_testing.go index 01be54de..3e6f72fc 100644 --- a/repository/gogit_testing.go +++ b/repository/gogit_testing.go @@ -9,17 +9,11 @@ import ( "github.com/99designs/keyring" ) -type TestingT interface { - Cleanup(func()) - Helper() - TempDir() string -} - const namespace = "git-bug" // This is intended for testing only -func CreateGoGitTestRepo(t TestingT, bare bool) TestedRepo { +func CreateGoGitTestRepo(t testing.TB, bare bool) TestedRepo { t.Helper() dir := t.TempDir() |