1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
hsbt 2014-02-16 06:05:55 +00:00
parent 72191a0acd
commit 2e1d21f53c
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Sun Feb 16 15:05:00 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* test/pathname/test_pathname.rb: File.exists? is deprecated. use File.exist?
Sun Feb 16 15:00:28 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
* test/net/ftp/test_ftp.rb: remove unused variables.

View file

@ -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