From 2e1d21f53c2f45f1773c8bb246e0de086f803170 Mon Sep 17 00:00:00 2001 From: hsbt Date: Sun, 16 Feb 2014 06:05:55 +0000 Subject: * test/pathname/test_pathname.rb: use File.exist? instead of File.exists? git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/pathname/test_pathname.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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 -- cgit v1.2.3