Skip to content

Commit

Permalink
Merge pull request #31 from ovechkin-dm/30-do-not-verify-every-when-stub
Browse files Browse the repository at this point in the history
do not verify every when stub
  • Loading branch information
ovechkin-dm authored Dec 27, 2023
2 parents 037ad3a + 1afbff1 commit 85d5355
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions registry/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 85d5355

Please sign in to comment.