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

Unified Diff: pkg/testing/lib/src/log.dart

Issue 2626003003: Implement multitest expectations. (Closed)
Patch Set: Created 3 years, 11 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
Index: pkg/testing/lib/src/log.dart
diff --git a/pkg/testing/lib/src/log.dart b/pkg/testing/lib/src/log.dart
index 64c49fa474ca150b3401af7d0c50344a083dad2c..b9e645c94b207d09d4559f6e7d91125667b8c774 100644
--- a/pkg/testing/lib/src/log.dart
+++ b/pkg/testing/lib/src/log.dart
@@ -77,7 +77,7 @@ void logProgress(String message) {
String formatProgress(int completed, int failed, int total) {
Duration elapsed = wallclock.elapsed;
String percent = pad((completed / total * 100.0).toStringAsFixed(1), 5);
- String good = pad(completed, 5);
+ String good = pad(completed - failed, 5);
String bad = pad(failed, 5);
String minutes = pad(elapsed.inMinutes, 2, filler: "0");
String seconds = pad(elapsed.inSeconds % 60, 2, filler: "0");

Powered by Google App Engine
This is Rietveld 408576698