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

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

Issue 12282038: Remove deprecated string features. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge to head 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 | « tests/standalone/io/secure_socket_test.dart ('k') | tests/standalone/io/string_decoder_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/socket_close_test.dart
diff --git a/tests/standalone/io/socket_close_test.dart b/tests/standalone/io/socket_close_test.dart
index dcb90a245aa0f451b7ebacc75c75c4c7571764d8..4d72f3c9773d0c5b81e1e16302c7d38e246a16e7 100644
--- a/tests/standalone/io/socket_close_test.dart
+++ b/tests/standalone/io/socket_close_test.dart
@@ -101,7 +101,7 @@ class SocketClose {
onError: (error) => errorHandler(socket));
void writeHello() {
- socket.add("Hello".charCodes);
+ socket.add("Hello".codeUnits);
}
_iterations++;
@@ -224,7 +224,7 @@ class SocketCloseServer {
}
void writeHello() {
- connection.add("Hello".charCodes);
+ connection.add("Hello".codeUnits);
}
void dataHandler(bytes) {
« no previous file with comments | « tests/standalone/io/secure_socket_test.dart ('k') | tests/standalone/io/string_decoder_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698