Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

- Fixed rdoc bug preventing doco for some expectations. (stomar).

[git-p4: depot-paths = "//src/minitest/dev/": change = 7669]
  • Loading branch information...
commit 15bb4cb89a69f47298ac203147776b54d31a405a 1 parent fa9f8b8
@zenspider zenspider authored
Showing with 5 additions and 6 deletions.
  1. +5 −6 lib/minitest/spec.rb
View
11 lib/minitest/spec.rb
@@ -277,11 +277,11 @@ module MiniTest::Expectations
#
# n.must_be_close_to m [, delta]
#
- # :method: must_be_within_delta
+ # :method: must_be_close_to
infect_an_assertion :assert_in_delta, :must_be_close_to
- alias :must_be_within_delta :must_be_close_to
+ alias :must_be_within_delta :must_be_close_to # :nodoc:
##
# See MiniTest::Assertions#assert_in_epsilon
@@ -437,12 +437,11 @@ module MiniTest::Expectations
#
# n.wont_be_close_to m [, delta]
#
- # :method: wont_be_within_delta
+ # :method: wont_be_close_to
- infect_an_assertion :refute_in_delta, :wont_be_within_delta
+ infect_an_assertion :refute_in_delta, :wont_be_close_to
- alias :wont_be_close_to :wont_be_within_delta
- # FIX: reverse aliases
+ alias :wont_be_within_delta :wont_be_close_to # :nodoc:
##
# See MiniTest::Assertions#refute_in_epsilon
Please sign in to comment.
Something went wrong with that request. Please try again.