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

Unified Diff: tests/corelib/date_time_test.dart

Issue 10900025: Fix date test. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/date_time_test.dart
===================================================================
--- tests/corelib/date_time_test.dart (revision 11524)
+++ tests/corelib/date_time_test.dart (working copy)
@@ -264,7 +264,7 @@
dt = new Date.fromMillisecondsSinceEpoch(8640000000000000);
Expect.throws(() => new Date(dt.year, dt.month, dt.day,
dt.hour, dt.minute, 0, 1));
- dt = new Date.fromMillisecondsSinceEpoch(-8640000000000000);
+ dt = new Date.fromMillisecondsSinceEpoch(-8640000000000000, isUtc: true);
Expect.throws(() => new Date(dt.year, dt.month, dt.day,
dt.hour, dt.minute, 0, -1, isUtc: true));
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698