Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Side by Side Diff: client/flagpb/unmarshal_test.proto

Issue 1940683002: client/flagpb: fix unmarshaling of maps (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@flagpb-parse-value
Patch Set: -mapcase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 syntax = "proto3"; 1 syntax = "proto3";
2 2
3 package flagpb; 3 package flagpb;
4 4
5 enum E { 5 enum E {
6 V0 = 0; 6 V0 = 0;
7 V1 = 1; 7 V1 = 1;
8 } 8 }
9 9
10 message M1 { 10 message M1 {
(...skipping 10 matching lines...) Expand all
21 E e = 2; 21 E e = 2;
22 } 22 }
23 23
24 message M3 { 24 message M3 {
25 repeated M1 m1 = 1; 25 repeated M1 m1 = 1;
26 M2 m2 = 2; 26 M2 m2 = 2;
27 bool b = 3; 27 bool b = 3;
28 string s = 4; 28 string s = 4;
29 bytes bt = 5; 29 bytes bt = 5;
30 } 30 }
31
32 message MapContainer {
33 map<string, string> ss = 1;
34 map<int32, int32> ii = 2;
35 map<string, M1> sm1 = 3;
36 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698