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 ec9dfa1d59..8008e8c0af 100644 --- a/test/pathname/test_pathname.rb +++ b/test/pathname/test_pathname.rb @@ -1222,7 +1222,7 @@ class TestPathname < Test::Unit::TestCase Pathname("d").mkdir assert(File.directory?("d")) Pathname("d").rmdir - assert(!File.exists?("d")) + assert(!File.exist?("d")) } end |