summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-25 23:20:52 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-25 23:20:52 +0000
commit7fa0c70ef7c5ab2d3fbefbb429e1f1ba1de7971a (patch)
treef5ba91b3dd4d3d6fc37feeb406512b638c653c75 /test
parent9099a55ad6e369c325beefc3e7f4fd03df6e5a47 (diff)
s/existance/existence
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_extlibs.rb90
1 files changed, 45 insertions, 45 deletions
diff --git a/test/ruby/test_extlibs.rb b/test/ruby/test_extlibs.rb
index 000211e..46573b8 100644
--- a/test/ruby/test_extlibs.rb
+++ b/test/ruby/test_extlibs.rb
@@ -1,7 +1,7 @@
class TestExtLibs < Test::Unit::TestCase
- def self.check_existance(ext, add_msg = nil)
+ def self.check_existence(ext, add_msg = nil)
add_msg = ". #{add_msg}" if add_msg
- define_method("test_existance_of_#{ext.gsub(%r'/', '_')}") do
+ define_method("test_existence_of_#{ext.gsub(%r'/', '_')}") do
assert_nothing_raised("extension library `#{ext}' is not found#{add_msg}") do
require ext
end
@@ -12,47 +12,47 @@ class TestExtLibs < Test::Unit::TestCase
/mswin|mingw/ =~ RUBY_PLATFORM
end
- check_existance "bigdecimal"
- check_existance "continuation"
- check_existance "coverage"
- check_existance "date"
- #check_existance "dbm" # depend on libdbm
- check_existance "digest"
- check_existance "digest/bubblebabble"
- check_existance "digest/md5"
- check_existance "digest/rmd160"
- check_existance "digest/sha1"
- check_existance "digest/sha2"
- check_existance "etc"
- check_existance "fcntl"
- check_existance "fiber"
- check_existance "fiddle"
- #check_existance "gdbm" # depend on libgdbm
- check_existance "io/console"
- check_existance "io/nonblock"
- check_existance "io/wait"
- check_existance "json"
- #check_existance "mathn/complex" # break the world
- #check_existance "mathn/rational" # break the world
- check_existance "nkf"
- check_existance "objspace"
- check_existance "openssl", "this may be false positive, but should assert because rubygems requires this"
- check_existance "pathname"
- check_existance "psych"
- check_existance "pty" unless windows?
- check_existance "racc/cparse"
- check_existance "rbconfig/sizeof"
- #check_existance "readline" # depend on libreadline
- check_existance "ripper"
- check_existance "sdbm"
- check_existance "socket"
- check_existance "stringio"
- check_existance "strscan"
- check_existance "syslog" unless windows?
- check_existance "thread"
- #check_existance "tk" # depend on Tcl/Tk
- #check_existance "tk/tkutil" # depend on Tcl/Tk
- check_existance "Win32API" if windows?
- check_existance "win32ole" if windows?
- check_existance "zlib", "this may be false positive, but should assert because rubygems requires this"
+ check_existence "bigdecimal"
+ check_existence "continuation"
+ check_existence "coverage"
+ check_existence "date"
+ #check_existence "dbm" # depend on libdbm
+ check_existence "digest"
+ check_existence "digest/bubblebabble"
+ check_existence "digest/md5"
+ check_existence "digest/rmd160"
+ check_existence "digest/sha1"
+ check_existence "digest/sha2"
+ check_existence "etc"
+ check_existence "fcntl"
+ check_existence "fiber"
+ check_existence "fiddle"
+ #check_existence "gdbm" # depend on libgdbm
+ check_existence "io/console"
+ check_existence "io/nonblock"
+ check_existence "io/wait"
+ check_existence "json"
+ #check_existence "mathn/complex" # break the world
+ #check_existence "mathn/rational" # break the world
+ check_existence "nkf"
+ check_existence "objspace"
+ check_existence "openssl", "this may be false positive, but should assert because rubygems requires this"
+ check_existence "pathname"
+ check_existence "psych"
+ check_existence "pty" unless windows?
+ check_existence "racc/cparse"
+ check_existence "rbconfig/sizeof"
+ #check_existence "readline" # depend on libreadline
+ check_existence "ripper"
+ check_existence "sdbm"
+ check_existence "socket"
+ check_existence "stringio"
+ check_existence "strscan"
+ check_existence "syslog" unless windows?
+ check_existence "thread"
+ #check_existence "tk" # depend on Tcl/Tk
+ #check_existence "tk/tkutil" # depend on Tcl/Tk
+ check_existence "Win32API" if windows?
+ check_existence "win32ole" if windows?
+ check_existence "zlib", "this may be false positive, but should assert because rubygems requires this"
end