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

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

Issue 165873005: Do not overwrite values on plurals/genders with the results of constant evaluation (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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/sample_with_messages.dart ('k') | 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/verify_messages.dart
diff --git a/pkg/intl/test/message_extraction/verify_messages.dart b/pkg/intl/test/message_extraction/verify_messages.dart
index d368c36aa15b064c54afdb08490dbe99eb8c1bba..d7a949fa81f212a18c4903dd272c76ac6c348ad9 100644
--- a/pkg/intl/test/message_extraction/verify_messages.dart
+++ b/pkg/intl/test/message_extraction/verify_messages.dart
@@ -51,6 +51,8 @@ verifyResult(ignored) {
verify('5 some currency or other.');
verify('1 Canadian dollar');
verify('2 Canadian dollars');
+ verify('1 thing:');
+ verify('2 things:');
var fr_lines = expanded.skip(1).skipWhile(
(line) => !line.contains('----')).toList();
@@ -98,6 +100,8 @@ verifyResult(ignored) {
verify('5 certaine devise ou autre.');
verify('1 dollar Canadien');
verify('2 dollars Canadiens');
+ verify('1 chose:');
+ verify('2 choses:');
var de_lines = fr_lines.skip(1).skipWhile(
(line) => !line.contains('----')).toList();
@@ -145,4 +149,6 @@ verifyResult(ignored) {
verify('5 einige Währung oder anderen.');
verify('1 Kanadischer dollar');
verify('2 Kanadischen dollar');
+ verify('eins:');
+ verify('2 Dinge:');
}
« no previous file with comments | « pkg/intl/test/message_extraction/sample_with_messages.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698