diff --git a/registry/registry.go b/registry/registry.go index 7020e68..1930143 100644 --- a/registry/registry.go +++ b/registry/registry.go @@ -43,10 +43,6 @@ func TearDown() { if reg.mockContext.reporter == nil { reg.mockContext.reporter.Errorf("Cannot TearDown since SetUp function wasn't called") } - - for _, v := range reg.mapping { - v.CheckUnusedStubs() - } } func Mock[T any]() T {