Skip to content

Commit

Permalink
Fix map field names
Browse files Browse the repository at this point in the history
  • Loading branch information
thesamet committed Sep 23, 2020
1 parent 252e7c7 commit 2f1969c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/src/test/scala/MapsSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ class MapsSpec

"descriptor.isMapEntry" should "be true" in {
MapsTest.scalaDescriptor.findFieldByName("str_to_str").value.isMapField must be(true)
MapsTest.scalaDescriptor.findFieldByName("str_to_int32").value.isMapField must be(true)
MapsTest.scalaDescriptor.findFieldByName("string_to_int32").value.isMapField must be(true)
MapsTest.scalaDescriptor.findFieldByName("int32_to_string").value.isMapField must be(true)
MapsTest.scalaDescriptor.findFieldByName("not_a_map").value.isMapField must be(false)
MapsTest.scalaDescriptor.findFieldByName("repeated_not_a_map").value.isMapField must be(false)
MapsTest2.scalaDescriptor.findFieldByName("str_to_str").value.isMapField must be(true)
MapsTest2.scalaDescriptor.findFieldByName("str_to_int32").value.isMapField must be(true)
MapsTest2.scalaDescriptor.findFieldByName("string_to_int32").value.isMapField must be(true)
MapsTest2.scalaDescriptor.findFieldByName("int32_to_string").value.isMapField must be(true)
MapsTest2.scalaDescriptor.findFieldByName("not_a_map").value.isMapField must be(false)
MapsTest2.scalaDescriptor.findFieldByName("repeated_not_a_map").value.isMapField must be(false)
Expand Down

0 comments on commit 2f1969c

Please sign in to comment.