Chromium Code Reviews

Unified Diff: tests/standalone/io/test_runner_exit_code_script.dart

Issue 11770004: Rename Date to DateTime. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: tests/standalone/io/test_runner_exit_code_script.dart
diff --git a/tests/standalone/io/test_runner_exit_code_script.dart b/tests/standalone/io/test_runner_exit_code_script.dart
index 3bdbb9a163d1d2bc4908483e92814955ffc9bc25..7e2542db08117b697fccc75f9e7f1027e1fe5137 100644
--- a/tests/standalone/io/test_runner_exit_code_script.dart
+++ b/tests/standalone/io/test_runner_exit_code_script.dart
@@ -11,7 +11,7 @@ import "../../../tools/testing/dart/test_options.dart";
main() {
var progressType = new Options().arguments[0];
// Build a progress indicator.
- var startTime = new Date.now();
+ var startTime = new DateTime.now();
var progress =
new ProgressIndicator.fromName(progressType, startTime, false);
if (progressType == 'buildbot') {
@@ -31,7 +31,7 @@ main() {
progress.allTestsKnown();
progress.start(testCase);
new CommandOutput.fromCase(testCase, dummyCommand, 1, false, false, [], [],
- new Date.now().difference(startTime), false);
+ new DateTime.now().difference(startTime), false);
progress.done(testCase);
progress.allDone();
}

Powered by Google App Engine