git-bug/repository/mock_repo_test.go

11 lines
205 B
Go

package repository
import "testing"
func TestMockRepo(t *testing.T) {
creator := func(bare bool) TestedRepo { return NewMockRepo() }
cleaner := func(repos ...Repo) {}
RepoTest(t, creator, cleaner)
}