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:
parent
e21741e254
commit
4c205de3e6
2 changed files with 5 additions and 10 deletions
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue