diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-16 06:55:06 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-16 06:55:06 +0000 |
commit | 3efb36c25c6f8bbdccf7da3d24966289346fdd14 (patch) | |
tree | a309247289c366591cac6063946d9b9ab4f0140f | |
parent | 2e1d21f53c2f45f1773c8bb246e0de086f803170 (diff) |
* 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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | test/test_securerandom.rb | 2 |
2 files changed, 5 insertions, 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? diff --git a/test/test_securerandom.rb b/test/test_securerandom.rb index f3c9a1af92..0a78624ab9 100644 --- a/test/test_securerandom.rb +++ b/test/test_securerandom.rb @@ -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 } |