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

Unified 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, 8 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 side-by-side diff with in-line comments
Download patch
Index: client/flagpb/unmarshal_test.proto
diff --git a/client/flagpb/unmarshal_test.proto b/client/flagpb/unmarshal_test.proto
index 83de0a99e70137b473e9692a0747b7e6f1ef0fd1..b4827ecbe184538215dd9986dc95090cad3f2fd1 100644
--- a/client/flagpb/unmarshal_test.proto
+++ b/client/flagpb/unmarshal_test.proto
@@ -28,3 +28,9 @@ message M3 {
string s = 4;
bytes bt = 5;
}
+
+message MapContainer {
+ map<string, string> ss = 1;
+ map<int32, int32> ii = 2;
+ map<string, M1> sm1 = 3;
+}

Powered by Google App Engine
This is Rietveld 408576698