mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/test_securerandom.rb: use File.exist? instead of File.exists?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2e1d21f53c
commit
3efb36c25c
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Sun Feb 16 15:53:36 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
||||
|
||||
* test/test_securerandom.rb: File.exists? is deprecated. use File.exist?
|
||||
|
||||
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?
|
||||
|
|
|
@ -176,7 +176,7 @@ end
|
|||
$LOADED_FEATURES.delete_if { |path|
|
||||
if File.basename(path) == basename
|
||||
$LOAD_PATH.any? { |dir|
|
||||
File.exists?(File.join(dir, basename))
|
||||
File.exist?(File.join(dir, basename))
|
||||
}
|
||||
end
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue