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

Added changes needed for miniunit. usually from using internal calls that aren't needed anymore.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ryan 2008-09-23 21:39:21 +00:00
parent abef077ec7
commit 8e05c69aa1
5 changed files with 20 additions and 3 deletions

View file

@ -4,6 +4,10 @@ module Test
module Unit
module Assertions # redefine
def _wrap_assertion
yield
end
def assert_same_file(from, to)
_wrap_assertion {
assert_block("file #{from} != #{to}") {