mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* 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
This commit is contained in:
		
							parent
							
								
									77e9edc334
								
							
						
					
					
						commit
						e1d283847d
					
				
					 4 changed files with 10 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,10 @@
 | 
			
		|||
Thu Dec  3 15:37:56 2015  SHIBATA Hiroshi  <hsbt@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* 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  <nobu@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* sprintf.c (rb_str_format): fix wrong shifting position in
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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 = [
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue