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); |