summaryrefslogtreecommitdiff
path: root/test/fileutils
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-05 11:40:43 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-05 11:40:43 +0000
commit790f43a374b94a906d5a72ae3c9957674cbd33ae (patch)
tree52ed59b6b5347fdc4530e6fbd088214c3c4da8d2 /test/fileutils
parent49f8799af4d612ea164f800645222d15cfc6ae02 (diff)
* test/fileutils/fileasserts.rb (assert_block): pass arguments
as-is. [ruby-dev:43174] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/fileutils')
-rw-r--r--test/fileutils/fileasserts.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fileutils/fileasserts.rb b/test/fileutils/fileasserts.rb
index 3ecd6a5259..97e7f964de 100644
--- a/test/fileutils/fileasserts.rb
+++ b/test/fileutils/fileasserts.rb
@@ -8,8 +8,8 @@ module Test
yield
end
- def assert_block msg = nil
- assert yield, msg
+ def assert_block(*msgs)
+ assert yield, *msgs
end
def assert_same_file(from, to, message=nil)