package testsuite import ( "testing" "forge.cadoles.com/arcad/edge/pkg/module/share" ) type NewTestRepoFunc func(testname string) (share.Repository, error) func TestRepository(t *testing.T, newRepo NewTestRepoFunc) { t.Run("Cases", func(t *testing.T) { t.Parallel() runRepositoryTests(t, newRepo) }) }