Index: utils/tests/pub/command_line_config.dart |
diff --git a/utils/tests/pub/command_line_config.dart b/utils/tests/pub/command_line_config.dart |
index 730dcc4321b2a24544067371c95de4d2ea0847b2..df4a28aba7b426abad576ac0ea6e62173c654ecd 100644 |
--- a/utils/tests/pub/command_line_config.dart |
+++ b/utils/tests/pub/command_line_config.dart |
@@ -50,7 +50,7 @@ class CommandLineConfiguration extends Configuration { |
_printStackTrace(testCase.stackTrace); |
- currentTestCase = null; |
+ super.onTestResult(testCase); |
} |
void onSummary(int passed, int failed, int errors, List<TestCase> results, |
@@ -105,9 +105,9 @@ class CommandLineConfiguration extends Configuration { |
if (string.length >= length) return string; |
var result = new StringBuffer(); |
- result.add(string); |
+ result.write(string); |
for (var i = 0; i < length - string.length; i++) { |
- result.add(' '); |
+ result.write(' '); |
} |
return result.toString(); |