88ad7e60
8d63c983
fb0c5fd0
1 2
3 4 5
6 7
8
9 10 11 12
package repository import ( "testing" ) func TestMockRepo(t *testing.T) { creator := func(bare bool) TestedRepo { return NewMockRepo() } cleaner := func(repos ...Repo) {} RepoTest(t, creator, cleaner) }