diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-03 06:38:01 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-03 06:38:01 +0000 |
commit | 593ebec87f3c4e4be4ecc20d33c943d85930eaef (patch) | |
tree | 0635f002d23f77955c0fcdc66b0f163cd6cee936 /test | |
parent | 1336844a7f3b30d21cc38eae32ad14e16a951e7d (diff) | |
download | ruby-593ebec87f3c4e4be4ecc20d33c943d85930eaef.tar.gz |
* 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.rb | 2 | ||||
-rw-r--r-- | test/ruby/test_object.rb | 2 | ||||
-rw-r--r-- | test/socket/test_tcp.rb | 2 |
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 = [ |