88ad7e60
fb0c5fd0
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) }