git-bug/repository/mock_repo_test.go

13 lines
210 B
Go
Raw Normal View History

package repository
2021-01-04 01:59:25 +03:00
import (
"testing"
)
func TestMockRepo(t *testing.T) {
creator := func(bare bool) TestedRepo { return NewMockRepo() }
cleaner := func(repos ...Repo) {}
RepoTest(t, creator, cleaner)
}