summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-31 15:17:26 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-31 15:17:26 +0000
commit478606bfd54b4ca11d993c584537de6675e75113 (patch)
treeb36f23757bb26aa9580de96e0394cf7ef435c165 /test
parent58c5011b3e26643b1c50aac8d0aab094b6899dd0 (diff)
fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_hash.rb2
-rw-r--r--test/ruby/test_thread.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_hash.rb b/test/ruby/test_hash.rb
index c0ccd65fca..fdb65ae6ca 100644
--- a/test/ruby/test_hash.rb
+++ b/test/ruby/test_hash.rb
@@ -826,7 +826,7 @@ class TestHash < Test::Unit::TestCase
assert_equal([], expected - vals)
end
- def test_intialize_wrong_arguments
+ def test_initialize_wrong_arguments
assert_raise(ArgumentError) do
Hash.new(0) { }
end
diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb
index 5f756f93bf..f60df8392e 100644
--- a/test/ruby/test_thread.rb
+++ b/test/ruby/test_thread.rb
@@ -602,7 +602,7 @@ class TestThread < Test::Unit::TestCase
end
def test_no_valid_cfp
- skip 'with win32ole, cannot run this testcase because win32ole redefines Thread#intialize' if defined?(WIN32OLE)
+ skip 'with win32ole, cannot run this testcase because win32ole redefines Thread#initialize' if defined?(WIN32OLE)
bug5083 = '[ruby-dev:44208]'
assert_equal([], Thread.new(&Module.method(:nesting)).value, bug5083)
assert_instance_of(Thread, Thread.new(:to_s, &Class.new.method(:undef_method)).join, bug5083)