diff options
Diffstat (limited to 'test/pathname')
-rw-r--r-- | test/pathname/test_pathname.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pathname/test_pathname.rb b/test/pathname/test_pathname.rb index 4842f96d0f..2917ebb557 100644 --- a/test/pathname/test_pathname.rb +++ b/test/pathname/test_pathname.rb @@ -339,7 +339,7 @@ class TestPathname < Test::Unit::TestCase def has_symlink? begin - File.symlink(nil, nil) + File.symlink("", "") rescue NotImplementedError, Errno::EACCES return false rescue TypeError |