1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):

reverted.  [ruby-core:29872]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2010-04-29 05:24:52 +00:00
parent e21741e254
commit 4c205de3e6
2 changed files with 5 additions and 10 deletions

View file

@ -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]

View file

@ -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