Skip to content

Commit

Permalink
- Fix for must_verify definition if only requiring minitest/mock (but…
Browse files Browse the repository at this point in the history
… why?).

[git-p4: depot-paths = "//src/minitest/dev/": change = 14358]
  • Loading branch information
zenspider committed Dec 4, 2024
1 parent 704d310 commit 51cfac5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/minitest/mock.rb
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,8 @@ module Minitest::Expectations
#
# :method: must_verify

infect_an_assertion :assert_mock, :must_verify, :unary
infect_an_assertion :assert_mock, :must_verify, :unary if
defined?(infect_an_assertion)
end

##
Expand Down

0 comments on commit 51cfac5

Please sign in to comment.