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

Unified Diff: tests/lib/i18n/message_format_test.dart

Issue 10538033: MessageFormat fixup (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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 | « tests/lib/i18n/intl_message_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/i18n/message_format_test.dart
===================================================================
--- tests/lib/i18n/message_format_test.dart (revision 8354)
+++ tests/lib/i18n/message_format_test.dart (working copy)
@@ -1,28 +0,0 @@
-/**
- * Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
- * for details. All rights reserved. Use of this source code is governed by a
- * BSD-style license that can be found in the LICENSE file.
- */
-
-#library('message_format_test');
-
-#import('../../../lib/i18n/message_format.dart');
-#import('../../../lib/unittest/unittest.dart');
-
-/**
- * Tests the MessageFormat library in dart.
- */
-
-main() {
- test('Message formatting', () {
- var msg_format = new MessageFormat(
- 'Message telling user how many emails will be sent.',
- '''{NUM_EMAILS_TO_SEND, plural,
- =0 {unused plural form}
- =1 {One email will be sent.}
- other {# emails will be sent.}}''');
- // TODO(efortuna): Uncomment when functioning correctly.
- //Expect.stringEquals('5 emails will be sent.',
- // msg_formatter.format({'NUM_EMAILS_TO_SEND' : 5}));
- });
-}
« no previous file with comments | « tests/lib/i18n/intl_message_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698