summaryrefslogtreecommitdiff
path: root/test/fileutils
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-09 07:02:01 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-07-09 07:02:01 +0000
commitf5a6a2a7e05b314ae9c6425c6dafd893e50005d9 (patch)
tree5dd8cdf5562339fd09833595f43a5760f229877d /test/fileutils
parent02f61f874af05058b3f0ee2f59729668ced59cd4 (diff)
* test/fileutils/fileasserts.rb
(Test::Unit::FileAssertions#assert_not_symlink): Add a missing optional argument "message". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/fileutils')
-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 0aa139f..e78deee 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