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

Unified Diff: tools/testing/dart/test_progress.dart

Issue 8589017: Dart test scripts: fix progress time indication. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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
Index: tools/testing/dart/test_progress.dart
diff --git a/tools/testing/dart/test_progress.dart b/tools/testing/dart/test_progress.dart
index 72abd4a6e751f7b6fe3a534ff94d643d3b346832..76b652bc842d900f25690b28ed64eacd7a5e45d1 100644
--- a/tools/testing/dart/test_progress.dart
+++ b/tools/testing/dart/test_progress.dart
@@ -69,7 +69,7 @@ class ProgressIndicator {
String _timeString() {
Duration d = (new Date.now()).difference(_startTime);
var min = d.inMinutes;
- var sec = d.inSeconds;
+ var sec = d.inSeconds % 60;
return '${_padTime(min)}:${_padTime(sec)}';
}
« tools/testing/dart/test_options.dart ('K') | « tools/testing/dart/test_options.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698