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:
parent
abef077ec7
commit
8e05c69aa1
5 changed files with 20 additions and 3 deletions
|
@ -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}") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue