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

pull/8363/head
Joshua Haberman 4 years ago
parent dfa54577d6
commit 7d63b996e1
  1. 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)

Loading…
Cancel
Save