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

Unified Diff: pkg/intl/test/date_time_format_test_core.dart

Issue 11366016: Update intl to new import syntax (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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/date_time_format_local_test_stub.dart ('k') | pkg/intl/test/date_time_format_test_data.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/intl/test/date_time_format_test_core.dart
===================================================================
--- pkg/intl/test/date_time_format_test_core.dart (revision 14371)
+++ pkg/intl/test/date_time_format_test_core.dart (working copy)
@@ -8,12 +8,12 @@
* be run on its own, but rather to be imported and run from another test file.
*/
-#library('date_time_format_tests');
+library date_time_format_tests;
-#import('../../../pkg/unittest/unittest.dart');
-#import('date_time_format_test_data.dart');
-#import('../lib/intl.dart');
-#import('../lib/src/date_format_internal.dart');
+import '../../../pkg/unittest/unittest.dart';
+import 'date_time_format_test_data.dart';
+import '../lib/intl.dart';
+import '../lib/src/date_format_internal.dart';
var formatsToTest = const [
DateFormat.DAY,
@@ -258,8 +258,9 @@
// Workaround for a dartj2 issue that treats the keys as immutable
symbols = new List.from(symbols);
symbols.sort(compare);
- for (var i = 0; i < patterns.length; i++)
+ for (var i = 0; i < patterns.length; i++) {
expect(patterns[i], equals(symbols[i]));
+ }
expect(patterns.length, equals(symbols.length));
});
« no previous file with comments | « pkg/intl/test/date_time_format_local_test_stub.dart ('k') | pkg/intl/test/date_time_format_test_data.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698