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

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

Issue 22928010: Fix message_extraction test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/intl/test/message_extraction/make_hardcoded_translation.dart
diff --git a/pkg/intl/test/message_extraction/make_hardcoded_translation.dart b/pkg/intl/test/message_extraction/make_hardcoded_translation.dart
index dd907dea789c7414bb0eb211b42fbe424a116407..9da9dce690b44103b5576ca0a390d431d180d617 100644
--- a/pkg/intl/test/message_extraction/make_hardcoded_translation.dart
+++ b/pkg/intl/test/message_extraction/make_hardcoded_translation.dart
@@ -27,7 +27,7 @@ get serialization => new Serialization()
constructorFields: ["index", "parent"])
..addRuleFor(new LiteralString("a", null),
constructorFields: ["string", "parent"])
- ..addRuleFor(new CompositeMessage([], null), constructor: "parent",
+ ..addRuleFor(new CompositeMessage([], null), constructor: "withParent",
constructorFields: ["parent"]);
var format = const SimpleFlatFormat();
get writer => serialization.newWriter(format);
@@ -240,4 +240,4 @@ main() {
var messages = json.parse(new File(fileArgs.first).readAsStringSync());
translate(messages, "fr", french);
translate(messages, "de_DE", german);
-}
+}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698