diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/test/unit/assertions.rb | 10 |
2 files changed, 5 insertions, 10 deletions
@@ -1,3 +1,8 @@ +Thu Apr 29 14:24:48 2010 Nobuyoshi Nakada <[email protected]> + + * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert): + reverted. [ruby-core:29872] + Thu Apr 29 12:33:42 2010 Nobuyoshi Nakada <[email protected]> * lib/thwait.rb (ThreadsWait#join): refined rdoc. [ruby-core:29863] diff --git a/lib/test/unit/assertions.rb b/lib/test/unit/assertions.rb index 52d52012df..821faf5803 100644 --- a/lib/test/unit/assertions.rb +++ b/lib/test/unit/assertions.rb @@ -10,16 +10,6 @@ module Test obj.pretty_inspect.chomp end - def assert(result, *args, &b) - super(result == true || result == false, "assertion result must be true or false") - super - end - - def refute(result, *args, &b) - super(result == true || result == false, "assertion result must be true or false") - super - end - def assert_raise(*args, &b) assert_raises(*args, &b) end |