Skip to content

Commit

Permalink
Remove unnecessary clear
Browse files Browse the repository at this point in the history
This state isn't persisted between runs, so it's not necessary to clear.
  • Loading branch information
thomasmarshall committed Sep 24, 2024
1 parent 9ed72e3 commit 7cbeffd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/minitest/verify.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ def run
with_verification { super }
end
rescue VerificationFailedError
callers.clear
end

Result.from(self)
Expand Down

0 comments on commit 7cbeffd

Please sign in to comment.