| 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));
|
| });
|
|
|
|
|