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

Unified Diff: tests/standalone/io/secure_socket_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
Index: tests/standalone/io/secure_socket_test.dart
diff --git a/tests/standalone/io/secure_socket_test.dart b/tests/standalone/io/secure_socket_test.dart
index fec1115ec17b4d3f205d3d2bef65181716e2a793..409d40e615e3902ee128a08e9c6986292bbcbabd 100644
--- a/tests/standalone/io/secure_socket_test.dart
+++ b/tests/standalone/io/secure_socket_test.dart
@@ -15,7 +15,7 @@ void main() {
SecureSocket.initialize();
List<String> chunks = <String>[];
SecureSocket.connect("www.google.dk", 443).then((socket) {
- socket.add("GET / HTTP/1.0\r\nHost: www.google.dk\r\n\r\n".charCodes);
+ socket.add("GET / HTTP/1.0\r\nHost: www.google.dk\r\n\r\n".codeUnits);
socket.close();
socket.listen(
(List<int> data) {
« no previous file with comments | « tests/standalone/io/secure_socket_bad_certificate_test.dart ('k') | tests/standalone/io/socket_close_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698