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

Unified Diff: pkg/intl/test/message_extraction/sample_with_messages.dart

Issue 132963002: Read Intl.message examples argument as a map, not a string (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Tweaks for the test framework Created 6 years, 11 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 | « pkg/intl/test/message_extraction/make_hardcoded_translation.dart ('k') | pkg/pkg.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/intl/test/message_extraction/sample_with_messages.dart
diff --git a/pkg/intl/test/message_extraction/sample_with_messages.dart b/pkg/intl/test/message_extraction/sample_with_messages.dart
index f678a35221df9fa38cc444f1529c6f2d45617ead..b978ca8317b1870192d063ff9705bd1c64a83568 100644
--- a/pkg/intl/test/message_extraction/sample_with_messages.dart
+++ b/pkg/intl/test/message_extraction/sample_with_messages.dart
@@ -19,7 +19,7 @@ part 'part_of_sample_with_messages.dart';
message1() => Intl.message("This is a message", name: 'message1', desc: 'foo' );
message2(x) => Intl.message("Another message with parameter $x",
- name: 'message2', desc: 'Description 2', args: [x]);
+ name: 'message2', desc: 'Description 2', args: [x], examples: {'x' : 3});
// A string with multiple adjacent strings concatenated together, verify
// that the parser handles this properly.
« no previous file with comments | « pkg/intl/test/message_extraction/make_hardcoded_translation.dart ('k') | pkg/pkg.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698