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

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

Issue 11263040: Make String.charCodes a getter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with co19 issue number. Created 8 years, 2 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_read_test.dart
diff --git a/tests/standalone/io/http_read_test.dart b/tests/standalone/io/http_read_test.dart
index 3a0c8495f0b86da090dbc3801a23c5727fcd175c..15e2606659602e785e4e2469a56bf6bea3ef9a15 100644
--- a/tests/standalone/io/http_read_test.dart
+++ b/tests/standalone/io/http_read_test.dart
@@ -173,7 +173,7 @@ void testReadInto(bool chunkedEncoding) {
request.outputStream.writeString(data.substring(10, data.length));
} else {
request.contentLength = data.length;
- request.outputStream.write(data.charCodes());
+ request.outputStream.write(data.charCodes);
}
request.outputStream.close();
};
@@ -227,7 +227,7 @@ void testReadShort(bool chunkedEncoding) {
request.outputStream.writeString(data.substring(10, data.length));
} else {
request.contentLength = data.length;
- request.outputStream.write(data.charCodes());
+ request.outputStream.write(data.charCodes);
}
request.outputStream.close();
};
« no previous file with comments | « tests/standalone/io/http_parser_test.dart ('k') | tests/standalone/io/http_server_early_client_close_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698