aboutsummaryrefslogtreecommitdiffstats
path: root/repository/mock_repo_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'repository/mock_repo_test.go')
-rw-r--r--repository/mock_repo_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/repository/mock_repo_test.go b/repository/mock_repo_test.go
index 12851a80..f43e7ea6 100644
--- a/repository/mock_repo_test.go
+++ b/repository/mock_repo_test.go
@@ -5,8 +5,7 @@ import (
)
func TestMockRepo(t *testing.T) {
- creator := func(bare bool) TestedRepo { return NewMockRepo() }
- cleaner := func(repos ...Repo) {}
+ creator := func(t TestingT, bare bool) TestedRepo { return NewMockRepo() }
- RepoTest(t, creator, cleaner)
+ RepoTest(t, creator)
}