aboutsummaryrefslogblamecommitdiffstats
path: root/repository/mock_repo_test.go
blob: b56b94f26be5938e4e0740be1aeb5f8a18249e8c (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                             
package repository

import "testing"

func TestMockRepo(t *testing.T) {
	creator := func(bare bool) TestedRepo { return NewMockRepoForTest() }
	cleaner := func(repos ...Repo) {}

	RepoTest(t, creator, cleaner)
}