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

Unified Diff: utils/tests/pub/test_pub.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/tests/pub/pub.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/pub/test_pub.dart
diff --git a/utils/tests/pub/test_pub.dart b/utils/tests/pub/test_pub.dart
index b0d973a69a793af3cbf0dbb7675fe2c7cd96f01e..b2542d5a94199ab8ee851fce4dd7e72db14f21a7 100644
--- a/utils/tests/pub/test_pub.dart
+++ b/utils/tests/pub/test_pub.dart
@@ -901,9 +901,9 @@ abstract class Descriptor {
}
var error = new StringBuffer();
- error.add("No files named $name in $dir were valid:\n");
+ error.write("No files named $name in $dir were valid:\n");
for (var failure in failures) {
- error.add(" $failure\n");
+ error.write(" $failure\n");
}
completer.completeError(
new TestFailure(error.toString()), stackTrace);
« no previous file with comments | « utils/tests/pub/pub.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698