mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	
							parent
							
								
									53c5a4bbe1
								
							
						
					
					
						commit
						bae9a21e40
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -114,7 +114,7 @@ eoyml
 | 
			
		|||
 | 
			
		||||
    def test_key_deduplication
 | 
			
		||||
      unless String.method_defined?(:-@) && (-("a" * 20)).equal?((-("a" * 20)))
 | 
			
		||||
        skip "This Ruby implementation doesn't support string deduplication"
 | 
			
		||||
        pend "This Ruby implementation doesn't support string deduplication"
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
      hashes = Psych.load(<<-eoyml)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -214,7 +214,7 @@ class TestPsych < Psych::TestCase
 | 
			
		|||
 | 
			
		||||
  def test_load_freeze_deduplication
 | 
			
		||||
    unless String.method_defined?(:-@) && (-("a" * 20)).equal?((-("a" * 20)))
 | 
			
		||||
      skip "This Ruby implementation doesn't support string deduplication"
 | 
			
		||||
      pend "This Ruby implementation doesn't support string deduplication"
 | 
			
		||||
    end
 | 
			
		||||
 | 
			
		||||
    data = Psych.load("--- ['a']", freeze: true)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue