| Index: pkg/intl/test/intl_test.dart
|
| ===================================================================
|
| --- pkg/intl/test/intl_test.dart (revision 11781)
|
| +++ pkg/intl/test/intl_test.dart (working copy)
|
| @@ -6,10 +6,16 @@
|
|
|
| #import('../intl.dart');
|
| #import('../../../pkg/unittest/unittest.dart');
|
| +#import('../date_symbol_data_local.dart');
|
|
|
| main() {
|
| test('Set locale', (){
|
| - var de = new Intl('de_DE');
|
| - expect(de.locale, equals('de'));
|
| + // TODO(alanknight): We need to make the locale verification be on a per
|
| + // usage basis rather than once for the entire Intl object. The set of
|
| + // locales covered for messages may be different from that for date
|
| + // formatting.
|
| + initializeDateFormatting('de_DE', null).then((_) {
|
| + var de = new Intl('de_DE');
|
| + expect(de.locale, equals('de'));});
|
| });
|
| }
|
|
|