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

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

Issue 12282038: Remove deprecated string features. (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
Index: tests/standalone/io/secure_stream_test.dart
diff --git a/tests/standalone/io/secure_stream_test.dart b/tests/standalone/io/secure_stream_test.dart
index 63c0fce8558cd9a77de803af334566f5c14b3819..69a70479e64b19c140af06231db6649e3e27c994 100644
--- a/tests/standalone/io/secure_stream_test.dart
+++ b/tests/standalone/io/secure_stream_test.dart
@@ -23,7 +23,7 @@ void main() {
var input = secure.inputStream;
var output = secure.outputStream;
- output.write("GET / HTTP/1.0\r\nHost: www.google.dk\r\n\r\n".charCodes);
+ output.write("GET / HTTP/1.0\r\nHost: www.google.dk\r\n\r\n".codeUnits);
output.close();
input.onData = () {
chunks.add(new String.fromCharCodes(input.read()));

Powered by Google App Engine
This is Rietveld 408576698