aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--lib/test/unit/assertions.rb10
2 files changed, 5 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 9cd70f7cf8..70acd4d9c6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Apr 29 14:24:48 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):
+ reverted. [ruby-core:29872]
+
Thu Apr 29 12:33:42 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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