From e1d283847d6d449ea8845fb777aaed821ded59e8 Mon Sep 17 00:00:00 2001 From: hsbt Date: Thu, 3 Dec 2015 06:38:01 +0000 Subject: [PATCH] * 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 --- ChangeLog | 7 +++++++ test/ruby/test_mixed_unicode_escapes.rb | 2 +- test/ruby/test_object.rb | 2 +- test/socket/test_tcp.rb | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1c72c0d775..bc76b9800f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Thu Dec 3 15:37:56 2015 SHIBATA Hiroshi + + * 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. + Thu Dec 3 15:33:08 2015 Nobuyoshi Nakada * sprintf.c (rb_str_format): fix wrong shifting position in 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 = [