diff --git a/arbitrary/gen_for_kind.go b/arbitrary/gen_for_kind.go index 0912261..c27961c 100644 --- a/arbitrary/gen_for_kind.go +++ b/arbitrary/gen_for_kind.go @@ -337,8 +337,6 @@ func (a *Arbitraries) genForKind(rt reflect.Type) gopter.Gen { keyGen := a.GenForType(rt.Key()) valueGen := a.GenForType(rt.Elem()) return gen.MapOf(keyGen, valueGen) - default: - panic(fmt.Sprintf("Unsupported GenForType: %v", rt.Kind())) } return nil }