aboutsummaryrefslogblamecommitdiffstats
path: root/repository/mock_repo_test.go
blob: dec09380d5ff5b26e9ba0e7c0c17deeeb860da1b (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 NewMockRepo() }
	cleaner := func(repos ...Repo) {}

	RepoTest(t, creator, cleaner)
}