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.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fileutils/fileasserts.rb b/test/fileutils/fileasserts.rb
index 0aa139fe16..e78deee06c 100644
--- a/test/fileutils/fileasserts.rb
+++ b/test/fileutils/fileasserts.rb
@@ -34,7 +34,7 @@ module Test
assert(File.symlink?(path), "is not a symlink: #{path}#{message&&': '}#{message||''}")
end
- def assert_not_symlink(path)
+ def assert_not_symlink(path, message=nil)
assert(!File.symlink?(path), "is a symlink: #{path}#{message&&': '}#{message||''}")
end