* lib/test/unit/assertions.rb (assert_block): move from

test/fileutils/fileasserts.rb.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2011-02-05 12:22:27 +00:00
parent 790f43a374
commit dd9341f02b
3 changed files with 8 additions and 5 deletions

View file

@ -21,6 +21,10 @@ module Test
super
end
def assert_block(*msgs)
assert yield, *msgs
end
def assert_raise(*args, &b)
assert_raises(*args, &b)
end