Skip to content

Commit ea7bac9

Browse files
committed
We want to test map_type, not map_field? here
1 parent e7990e0 commit ea7bac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/codegen/field_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def test_map_type
9999
assert_kind_of(CodeGen::Field, map_type.value)
100100
assert_equal(:TYPE_INT32, map_type.value.type)
101101

102-
refute(fields["field2"].map_field?, "field2 should not have a map_type")
102+
refute(fields["field2"].map_type, "field2 should not have a map_type")
103103
end
104104

105105
def test_proto3?

0 commit comments

Comments
 (0)