Skip to content

Commit

Permalink
- Fixed use of must/wont_be_within_delta on Expectation instance. (st…
Browse files Browse the repository at this point in the history
…omar)

[git-p4: depot-paths = "//src/minitest/dev/": change = 12413]
  • Loading branch information
zenspider committed Nov 23, 2019
1 parent 58c0b2f commit 02e35ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/minitest/expectations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ module Minitest::Expectations

infect_an_assertion :assert_in_delta, :must_be_close_to

alias :must_be_within_delta :must_be_close_to # :nodoc:
infect_an_assertion :assert_in_delta, :must_be_within_delta # :nodoc:

##
# See Minitest::Assertions#assert_in_epsilon
Expand Down Expand Up @@ -213,7 +213,7 @@ module Minitest::Expectations

infect_an_assertion :refute_in_delta, :wont_be_close_to

alias :wont_be_within_delta :wont_be_close_to # :nodoc:
infect_an_assertion :refute_in_delta, :wont_be_within_delta # :nodoc:

##
# See Minitest::Assertions#refute_in_epsilon
Expand Down

0 comments on commit 02e35ce

Please sign in to comment.