summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-03 06:38:01 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-03 06:38:01 +0000
commite1d283847d6d449ea8845fb777aaed821ded59e8 (patch)
tree0635f002d23f77955c0fcdc66b0f163cd6cee936 /test
parent77e9edc3348f33904424ceaa14e9692b8b91d7f3 (diff)
* test/ruby/test_mixed_unicode_escapes.rb: fixed typo.
[fix GH-1122] Patch by @davydovanton * test/ruby/test_object.rb: ditto. * test/socket/test_tcp.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_mixed_unicode_escapes.rb2
-rw-r--r--test/ruby/test_object.rb2
-rw-r--r--test/socket/test_tcp.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/ruby/test_mixed_unicode_escapes.rb b/test/ruby/test_mixed_unicode_escapes.rb
index 982b57e286..ac712db0f8 100644
--- a/test/ruby/test_mixed_unicode_escapes.rb
+++ b/test/ruby/test_mixed_unicode_escapes.rb
@@ -1,5 +1,5 @@
# -*- coding: cp932 -*-
-# This test is in a differnt file than TestUnicodeEscapes
+# This test is in a different file than TestUnicodeEscapes
# So that we can have a different coding comment above
require 'test/unit'
diff --git a/test/ruby/test_object.rb b/test/ruby/test_object.rb
index 515529b6a5..a3c71d605c 100644
--- a/test/ruby/test_object.rb
+++ b/test/ruby/test_object.rb
@@ -244,7 +244,7 @@ class TestObject < Test::Unit::TestCase
assert_equal(:foo, o.remove_instance_variable(:@foo),
"#{desc} iv removal returns original value")
assert_not_send([o, :instance_variable_defined?, :@foo],
- "#{desc} iv removed succesfully")
+ "#{desc} iv removed successfully")
e = assert_raise(NameError, "#{desc} iv removal raises after removal") do
o.remove_instance_variable(:@foo)
end
diff --git a/test/socket/test_tcp.rb b/test/socket/test_tcp.rb
index c0e34ebe27..450d1b35b5 100644
--- a/test/socket/test_tcp.rb
+++ b/test/socket/test_tcp.rb
@@ -11,7 +11,7 @@ class TestSocket_TCPSocket < Test::Unit::TestCase
def test_initialize_failure
# These addresses are chosen from TEST-NET-1, TEST-NET-2, and TEST-NET-3.
# [RFC 5737]
- # They are choosen because probably they are not used as a host address.
+ # They are chosen because probably they are not used as a host address.
# Anyway the addresses are used for bind() and should be failed.
# So no packets should be generated.
test_ip_addresses = [