mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* test/ruby/test_hash.rb (TestHash::test_equal2): recursive hashes
are handled properly now. ref: [ruby-core:23402] * test/ruby/test_m17n.rb (TestM17N#test_sprintf_p): test fixed git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									7a938f98f9
								
							
						
					
					
						commit
						7102c3b1a1
					
				
					 3 changed files with 11 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -3,6 +3,13 @@ Mon May 25 07:50:05 2009  Nobuyoshi Nakada  <nobu@ruby-lang.org>
 | 
			
		|||
	* string.c (rb_str_partition): should use the converted result.  a
 | 
			
		||||
	  patch from Marc-Andre Lafortune at [ruby-core:23540].
 | 
			
		||||
 | 
			
		||||
Mon May 25 06:25:38 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* test/ruby/test_hash.rb (TestHash::test_equal2): recursive hashes
 | 
			
		||||
	  are handled properly now. ref: [ruby-core:23402]
 | 
			
		||||
 | 
			
		||||
	* test/ruby/test_m17n.rb (TestM17N#test_sprintf_p): test fixed
 | 
			
		||||
 | 
			
		||||
Mon May 25 05:32:19 2009  Yukihiro Matsumoto  <matz@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* lib/cgi/core.rb (CGI::HTTP_STATUS): typo fixed.  a patch from
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -770,7 +770,9 @@ class TestHash < Test::Unit::TestCase
 | 
			
		|||
 | 
			
		||||
    h1 = {}; h1[h1] = h1; h1.rehash
 | 
			
		||||
    h2 = {}; h2[h2] = h2; h2.rehash
 | 
			
		||||
    assert(h1 != h2)
 | 
			
		||||
    # assert(h1 != h2)
 | 
			
		||||
    # recursive hashes are handled properly now. [ruby-core:23402]
 | 
			
		||||
    assert(h1 == h2)
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  def test_eql
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -770,7 +770,7 @@ class TestM17N < Test::Unit::TestCase
 | 
			
		|||
    #assert_strenc("\"\xC2\xA1\"", 'Windows-31J', s("%p") % s("\xc2\xa1"))
 | 
			
		||||
    assert_strenc("\"\xC2\xA1\"", 'UTF-8', u("%p") % u("\xc2\xa1"))
 | 
			
		||||
 | 
			
		||||
    assert_strenc('"\xC2\xA1"', 'US-ASCII', "%10p" % a("\xc2\xa1"))
 | 
			
		||||
    assert_strenc('"\xC2\xA1"', 'ASCII-8BIT', "%10p" % a("\xc2\xa1"))
 | 
			
		||||
    assert_strenc("       \"\xC2\xA1\"", 'EUC-JP', "%10p" % e("\xc2\xa1"))
 | 
			
		||||
    #assert_strenc("       \"\xC2\xA1\"", 'Windows-31J', "%10p" % s("\xc2\xa1"))
 | 
			
		||||
    assert_strenc("       \"\xC2\xA1\"", 'UTF-8', "%10p" % u("\xc2\xa1"))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue