Fix serialization of repeated fields with empty messages (#180)
Extend test config and utils to support exclusion of certain json samples from testing for symetry.
This commit is contained in:
3
tests/inputs/empty_repeated/empty_repeated.json
Normal file
3
tests/inputs/empty_repeated/empty_repeated.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"msg": [{"values":[]}]
|
||||
}
|
||||
9
tests/inputs/empty_repeated/empty_repeated.proto
Normal file
9
tests/inputs/empty_repeated/empty_repeated.proto
Normal file
@@ -0,0 +1,9 @@
|
||||
syntax = "proto3";
|
||||
|
||||
message MessageA {
|
||||
repeated float values = 1;
|
||||
}
|
||||
|
||||
message Test {
|
||||
repeated MessageA msg = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user