Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1356)

Unified Diff: tests/corelib/date_time3_test.dart

Issue 12047046: Change new DateTime.fromString to DateTime.parse. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/corelib/date_time2_test.dart ('k') | tests/corelib/date_time4_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/date_time3_test.dart
diff --git a/tests/corelib/date_time3_test.dart b/tests/corelib/date_time3_test.dart
index ded38441cc6f85d1717f5a8967c0e282397598a1..21af921cddc4e6198c4ff75ea2139f2590297de3 100644
--- a/tests/corelib/date_time3_test.dart
+++ b/tests/corelib/date_time3_test.dart
@@ -7,6 +7,6 @@
main() {
String s = "2012-01-30 08:30:00.010";
- DateTime d = new DateTime.fromString(s);
+ DateTime d = Date.parse(s);
Expect.equals(s, d.toString());
}
« no previous file with comments | « tests/corelib/date_time2_test.dart ('k') | tests/corelib/date_time4_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698