aboutsummaryrefslogtreecommitdiffstats
path: root/test/fileutils/fileasserts.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-05 12:22:27 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-05 12:22:27 +0000
commitdd9341f02b0d058826bb1750c9f90beb8573ca0e (patch)
treefd83ea9f5674b3cb6e5adf011705a6b92da288a6 /test/fileutils/fileasserts.rb
parent790f43a374b94a906d5a72ae3c9957674cbd33ae (diff)
downloadruby-dd9341f02b0d058826bb1750c9f90beb8573ca0e.tar.gz
* 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
Diffstat (limited to 'test/fileutils/fileasserts.rb')
-rw-r--r--test/fileutils/fileasserts.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/fileutils/fileasserts.rb b/test/fileutils/fileasserts.rb
index 97e7f964de..47a769c5dc 100644
--- a/test/fileutils/fileasserts.rb
+++ b/test/fileutils/fileasserts.rb
@@ -8,10 +8,6 @@ module Test
yield
end
- def assert_block(*msgs)
- assert yield, *msgs
- end
-
def assert_same_file(from, to, message=nil)
_wrap_assertion {
assert_block("file #{from} != #{to}#{message&&': '}#{message||''}") {