summaryrefslogtreecommitdiff
path: root/test/test_securerandom.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-16 06:55:06 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-16 06:55:06 +0000
commit3efb36c25c6f8bbdccf7da3d24966289346fdd14 (patch)
treea309247289c366591cac6063946d9b9ab4f0140f /test/test_securerandom.rb
parent2e1d21f53c2f45f1773c8bb246e0de086f803170 (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
Diffstat (limited to 'test/test_securerandom.rb')
-rw-r--r--test/test_securerandom.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_securerandom.rb b/test/test_securerandom.rb
index f3c9a1a..0a78624 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
}