summaryrefslogtreecommitdiff
path: root/test/fileutils/fileasserts.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/fileutils/fileasserts.rb')
-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)