diff options
Diffstat (limited to 'repository/mock_repo_test.go')
-rw-r--r-- | repository/mock_repo_test.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/repository/mock_repo_test.go b/repository/mock_repo_test.go index b56b94f2..12851a80 100644 --- a/repository/mock_repo_test.go +++ b/repository/mock_repo_test.go @@ -1,9 +1,11 @@ package repository -import "testing" +import ( + "testing" +) func TestMockRepo(t *testing.T) { - creator := func(bare bool) TestedRepo { return NewMockRepoForTest() } + creator := func(bare bool) TestedRepo { return NewMockRepo() } cleaner := func(repos ...Repo) {} RepoTest(t, creator, cleaner) |