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 53baa5cbc8..4842f96d0f 100644 --- a/test/pathname/test_pathname.rb +++ b/test/pathname/test_pathname.rb @@ -340,7 +340,7 @@ class TestPathname < Test::Unit::TestCase def has_symlink? begin File.symlink(nil, nil) - rescue NotImplementedError + rescue NotImplementedError, Errno::EACCES return false rescue TypeError end |