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

Unified Diff: test/service_test.dart

Issue 1829573002: Fix all strong mode warnings in protoc-plugin (Closed) Base URL: git@github.com:dart-lang/dart-protoc-plugin.git@master
Patch Set: regenerate pb.dart files Created 4 years, 9 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
« no previous file with comments | « test/message_test.dart ('k') | test/validate_fail_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/service_test.dart
diff --git a/test/service_test.dart b/test/service_test.dart
index 969bb5be7678c0fa63aeb58610523b86adea870d..2628a1f054052bf0e56d3dc8ed02d2a8e22078d9 100644
--- a/test/service_test.dart
+++ b/test/service_test.dart
@@ -109,8 +109,8 @@ void main() {
]);
String readMessageName(fqname) {
- var descriptor = new DescriptorProto()
- ..mergeFromJsonMap(map[fqname]);
+ var json = map[fqname] as Map<String, dynamic>;
+ var descriptor = new DescriptorProto()..mergeFromJsonMap(json);
return descriptor.name;
}
expect(readMessageName('.SearchRequest'), "SearchRequest");
« no previous file with comments | « test/message_test.dart ('k') | test/validate_fail_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698