summaryrefslogtreecommitdiffstats
path: root/tests/person.proto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/person.proto')
-rw-r--r--tests/person.proto2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/person.proto b/tests/person.proto
index 01b2d4e1..5befb076 100644
--- a/tests/person.proto
+++ b/tests/person.proto
@@ -4,7 +4,7 @@ message Person {
required string name = 1 [(nanopb).max_size = 40];
required int32 id = 2;
optional string email = 3 [(nanopb).max_size = 40];
- optional bytes test = 5 [default = "abc\x00\x01\x02"];
+ optional bytes test = 5 [default="\x00\x01\x02", (nanopb).max_size = 20];
enum PhoneType {
MOBILE = 0;