Browse Source

Removed compatibility test that tries to append "nil" to repeated field.

Joshua Haberman 4 years ago
parent
commit
7d63b996e1
1 changed files with 0 additions and 12 deletions
  1. 0 12
      ruby/compatibility_tests/v3.0.0/tests/repeated_field_test.rb

+ 0 - 12
ruby/compatibility_tests/v3.0.0/tests/repeated_field_test.rb

@@ -326,18 +326,6 @@ class RepeatedFieldTest < Test::Unit::TestCase
     end
     end
   end
   end
 
 
-  def test_compact!
-    m = TestMessage.new
-    m.repeated_msg << TestMessage2.new(:foo => 1)
-    m.repeated_msg << nil
-    m.repeated_msg << TestMessage2.new(:foo => 2)
-    reference_arr = m.repeated_string.to_a
-
-    check_self_modifying_method(m.repeated_string, reference_arr) do |arr|
-      arr.compact!
-    end
-  end
-
   def test_delete
   def test_delete
     m = TestMessage.new
     m = TestMessage.new
     reference_arr = %w(foo bar baz)
     reference_arr = %w(foo bar baz)