|
@@ -19,6 +19,7 @@ class RepeatedFieldTest < Test::Unit::TestCase
|
|
arr_methods -= [ :indices, :iter_for_each, :iter_for_each_index,
|
|
arr_methods -= [ :indices, :iter_for_each, :iter_for_each_index,
|
|
:iter_for_each_with_index, :dimensions, :copy_data, :copy_data_simple,
|
|
:iter_for_each_with_index, :dimensions, :copy_data, :copy_data_simple,
|
|
:nitems, :iter_for_reverse_each, :indexes, :append, :prepend]
|
|
:nitems, :iter_for_reverse_each, :indexes, :append, :prepend]
|
|
|
|
+ arr_methods -= [:union, :difference, :filter!]
|
|
arr_methods.each do |method_name|
|
|
arr_methods.each do |method_name|
|
|
assert m.repeated_string.respond_to?(method_name) == true, "does not respond to #{method_name}"
|
|
assert m.repeated_string.respond_to?(method_name) == true, "does not respond to #{method_name}"
|
|
end
|
|
end
|