Index: tests/corelib/date_time_test.dart |
diff --git a/tests/corelib/date_time_test.dart b/tests/corelib/date_time_test.dart |
index efb22069682ed38bb71f9c4b9481409a2d8b3f8c..27758f82e9c4ec60beef3ff5a8e94ecea7adb736 100644 |
--- a/tests/corelib/date_time_test.dart |
+++ b/tests/corelib/date_time_test.dart |
@@ -1234,7 +1234,7 @@ void testToStrings() { |
String source1 = "$date ${time}Z"; |
String source2 = "${date}T${time}Z"; |
var utcTime1 = DateTime.parse(source1); |
- var utcTime2 = DateTime.parse(source1); |
+ var utcTime2 = DateTime.parse(source2); |
Expect.isTrue(utcTime1.isUtc); |
Expect.equals(utcTime1, utcTime2); |
Expect.equals(source1, utcTime1.toString()); |
@@ -1244,7 +1244,7 @@ void testToStrings() { |
String source1 = "$date $time"; |
String source2 = "${date}T$time"; |
var utcTime1 = DateTime.parse(source1); |
- var utcTime2 = DateTime.parse(source1); |
+ var utcTime2 = DateTime.parse(source2); |
Expect.isFalse(utcTime1.isUtc); |
Expect.equals(utcTime1, utcTime2); |
Expect.equals(source1, utcTime1.toString()); |