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

Unified Diff: tests/standalone/io/http_proxy_test.dart

Issue 12473003: Remove deprecated StringBuffer.add, addAll and addCharCode. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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: tests/standalone/io/http_proxy_test.dart
diff --git a/tests/standalone/io/http_proxy_test.dart b/tests/standalone/io/http_proxy_test.dart
index af8cdff4882b8fe658f1ecb1416feb2718a2f160..9a037a0db9235f871ef921cfbb333357b6cd966b 100644
--- a/tests/standalone/io/http_proxy_test.dart
+++ b/tests/standalone/io/http_proxy_test.dart
@@ -43,7 +43,7 @@ class Server {
var body = new StringBuffer();
request.listen(
(data) {
- body.add(new String.fromCharCodes(data));
+ body.write(new String.fromCharCodes(data));
},
onDone: () {
String path = request.uri.path.substring(1);

Powered by Google App Engine
This is Rietveld 408576698