diff --git a/tests/inputs/nested/nested.json b/tests/inputs/nested/nested.json index f34f1d7..f460cad 100644 --- a/tests/inputs/nested/nested.json +++ b/tests/inputs/nested/nested.json @@ -2,5 +2,6 @@ "nested": { "count": 150 }, - "sibling": {} + "sibling": {}, + "msg": "THIS" } diff --git a/tests/inputs/nested/nested.proto b/tests/inputs/nested/nested.proto index 043cee0..619c721 100644 --- a/tests/inputs/nested/nested.proto +++ b/tests/inputs/nested/nested.proto @@ -6,13 +6,19 @@ package nested; message Test { // This is the nested type. message Nested { - // Stores a simple counter. - int32 count = 1; + // Stores a simple counter. + int32 count = 1; + } + // This is the nested enum. + enum Msg { + NONE = 0; + THIS = 1; } Nested nested = 1; Sibling sibling = 2; Sibling sibling2 = 3; + Msg msg = 4; } message Sibling {