| Index: pkg/intl/test/date_time_format_test_core.dart
|
| diff --git a/pkg/intl/test/date_time_format_test_core.dart b/pkg/intl/test/date_time_format_test_core.dart
|
| index 989b264f84095ee649762cd36c21f3f2155795d1..ea7cfca8f9b883bd1d356d2ca29484929889fffc 100644
|
| --- a/pkg/intl/test/date_time_format_test_core.dart
|
| +++ b/pkg/intl/test/date_time_format_test_core.dart
|
| @@ -372,6 +372,12 @@ void runDateTests(Function subsetFunc) {
|
| expect(local.hour, equals(parsed.hour));
|
| });
|
|
|
| + test('Test 0-padding', () {
|
| + var someDate = new DateTime(123, 1, 2, 3, 4, 5);
|
| + var format = new DateFormat('yyyy-MM-dd HH:mm:ss');
|
| + expect(format.format(someDate), '0123-01-02 03:04:05');
|
| + });
|
| +
|
| test('Test default format', () {
|
| var someDate = new DateTime(2012, 1, 27, 20, 58, 59, 1);
|
| var emptyFormat = new DateFormat(null, "en_US");
|
| @@ -446,4 +452,4 @@ void runDateTests(Function subsetFunc) {
|
| expect(basic, basicAgain);
|
| expect(first.month, 7);
|
| });
|
| -}
|
| +}
|
|
|