diff options
Diffstat (limited to 'tests/inputs/repeatedpacked')
-rw-r--r-- | tests/inputs/repeatedpacked/repeatedpacked.json | 5 | ||||
-rw-r--r-- | tests/inputs/repeatedpacked/repeatedpacked.proto | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/inputs/repeatedpacked/repeatedpacked.json b/tests/inputs/repeatedpacked/repeatedpacked.json new file mode 100644 index 0000000..106fd90 --- /dev/null +++ b/tests/inputs/repeatedpacked/repeatedpacked.json @@ -0,0 +1,5 @@ +{ + "counts": [1, 2, -1, -2], + "signed": ["1", "2", "-1", "-2"], + "fixed": [1.0, 2.7, 3.4] +} diff --git a/tests/inputs/repeatedpacked/repeatedpacked.proto b/tests/inputs/repeatedpacked/repeatedpacked.proto new file mode 100644 index 0000000..a037d1b --- /dev/null +++ b/tests/inputs/repeatedpacked/repeatedpacked.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + +package repeatedpacked; + +message Test { + repeated int32 counts = 1; + repeated sint64 signed = 2; + repeated double fixed = 3; +} |