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

Unified Diff: tests/corelib/date_time_test.dart

Issue 1514483003: Fix datetime test. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years 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
diff --git a/tests/corelib/date_time_test.dart b/tests/corelib/date_time_test.dart
index 7895598f268d52b7ae476db13876d8d36ea67582..7c2940a4c5723f8e6c12366fae090710abe418d7 100644
--- a/tests/corelib/date_time_test.dart
+++ b/tests/corelib/date_time_test.dart
@@ -38,7 +38,7 @@ void testMillisecondsSinceEpoch() {
void testMicrosecondsSinceEpoch() {
var dt1 = new DateTime.fromMillisecondsSinceEpoch(1);
- var microsecondsSinceEpoch = dt1.millisecondsSinceEpoch;
+ var microsecondsSinceEpoch = dt1.microsecondsSinceEpoch;
var dt2 = new DateTime.fromMicrosecondsSinceEpoch(microsecondsSinceEpoch);
Expect.equals(microsecondsSinceEpoch, dt2.microsecondsSinceEpoch);
« 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