diff options
Diffstat (limited to 'tests/inputs/repeatedmessage')
-rw-r--r-- | tests/inputs/repeatedmessage/repeatedmessage.json | 10 | ||||
-rw-r--r-- | tests/inputs/repeatedmessage/repeatedmessage.proto | 11 |
2 files changed, 21 insertions, 0 deletions
diff --git a/tests/inputs/repeatedmessage/repeatedmessage.json b/tests/inputs/repeatedmessage/repeatedmessage.json new file mode 100644 index 0000000..90ec596 --- /dev/null +++ b/tests/inputs/repeatedmessage/repeatedmessage.json @@ -0,0 +1,10 @@ +{ + "greetings": [ + { + "greeting": "hello" + }, + { + "greeting": "hi" + } + ] +} diff --git a/tests/inputs/repeatedmessage/repeatedmessage.proto b/tests/inputs/repeatedmessage/repeatedmessage.proto new file mode 100644 index 0000000..0ffacaf --- /dev/null +++ b/tests/inputs/repeatedmessage/repeatedmessage.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + +package repeatedmessage; + +message Test { + repeated Sub greetings = 1; +} + +message Sub { + string greeting = 1; +}
\ No newline at end of file |