From 8e05c69aa1cab5cca3e725926016492aabe6f0d5 Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 23 Sep 2008 21:39:21 +0000 Subject: 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 --- test/fileutils/fileasserts.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/fileutils/fileasserts.rb') diff --git a/test/fileutils/fileasserts.rb b/test/fileutils/fileasserts.rb index 41469a6ac6..d784544555 100644 --- a/test/fileutils/fileasserts.rb +++ b/test/fileutils/fileasserts.rb @@ -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}") { -- cgit v1.2.3