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

Unified Diff: utils/tests/pub/command_line_config.dart

Issue 12382031: Make pub warning-clean. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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
« no previous file with comments | « utils/pub/version_solver.dart ('k') | utils/tests/pub/pub.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « utils/pub/version_solver.dart ('k') | utils/tests/pub/pub.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698