| Index: test/codegen/corelib/date_time3_test.dart
|
| diff --git a/test/codegen/language/compile_time_constant9_test.dart b/test/codegen/corelib/date_time3_test.dart
|
| similarity index 56%
|
| copy from test/codegen/language/compile_time_constant9_test.dart
|
| copy to test/codegen/corelib/date_time3_test.dart
|
| index 96cf41a5dafb3588f8a376bfbdfefb4241b40bb9..557eedee15fde73a37da728fef633214dd6d2548 100644
|
| --- a/test/codegen/language/compile_time_constant9_test.dart
|
| +++ b/test/codegen/corelib/date_time3_test.dart
|
| @@ -4,15 +4,11 @@
|
|
|
| import "package:expect/expect.dart";
|
|
|
| -class B {
|
| - const B();
|
| -}
|
| -
|
| -class A {
|
| - var x = const B();
|
| - A();
|
| -}
|
| +// At some point dart was emitting a bad padding 0 for Dates where the ms were
|
| +// ending with 10.
|
|
|
| main() {
|
| - Expect.isTrue(identical(new A().x, new A().x));
|
| + String s = "2012-01-30 08:30:00.010";
|
| + DateTime d = DateTime.parse(s);
|
| + Expect.equals(s, d.toString());
|
| }
|
|
|