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

Unified Diff: tests/corelib/src/DateTimeTest.dart

Issue 9466048: Implement (subset of) ISO 8601 for date-reading. Fix other bugs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add comment. Created 8 years, 10 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/corelib.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/src/DateTimeTest.dart
diff --git a/tests/corelib/src/DateTimeTest.dart b/tests/corelib/src/DateTimeTest.dart
index 984087283995ee1f6afc3984ebf0240dfed5bc55..42b358e3517948443fb5ec8ce3ac5a81a345a796 100644
--- a/tests/corelib/src/DateTimeTest.dart
+++ b/tests/corelib/src/DateTimeTest.dart
@@ -323,6 +323,7 @@ class DateTest {
// TODO(floitsch): Clean up the Date API that deals with strings.
var dt1 = new Date.fromString("2011-05-11 18:58:35Z");
Expect.equals(1305140315000, dt1.value);
+ Expect.isTrue(dt1.isUtc());
var str = dt1.toString();
var dt2 = new Date.fromString(str);
Expect.equals(true, dt1 == dt2);
« no previous file with comments | « tests/corelib/corelib.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698