diff options
Diffstat (limited to 'test/pathname/test_pathname.rb')
-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 2917ebb557..daa32111bc 100644 --- a/test/pathname/test_pathname.rb +++ b/test/pathname/test_pathname.rb @@ -342,7 +342,7 @@ class TestPathname < Test::Unit::TestCase File.symlink("", "") rescue NotImplementedError, Errno::EACCES return false - rescue TypeError + rescue Errno::ENOENT end return true end |