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

Unified Diff: tests/standalone/io/mime_multipart_parser_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/mime_multipart_parser_test.dart
diff --git a/tests/standalone/io/mime_multipart_parser_test.dart b/tests/standalone/io/mime_multipart_parser_test.dart
index adccecbeedb5dca2c7bd5c132c03716b84fedc30..cecdfb442be69239629c59dab343d3e046c0c453 100644
--- a/tests/standalone/io/mime_multipart_parser_test.dart
+++ b/tests/standalone/io/mime_multipart_parser_test.dart
@@ -47,7 +47,7 @@ void testParse(String message,
if (expectedParts[partCount] != null) {
List<int> expectedPart;
if (expectedParts[partCount] is String) {
- expectedPart = expectedParts[partCount].charCodes;
+ expectedPart = expectedParts[partCount].codeUnits;
} else {
expectedPart = expectedParts[partCount];
}
@@ -83,7 +83,7 @@ void testParse(String message,
// Test parsing the data three times delivering the data in
// different chunks.
- List<int> data = message.charCodes;
+ List<int> data = message.codeUnits;
testWrite(data);
testWrite(data, 10);
testWrite(data, 2);
« no previous file with comments | « tests/standalone/io/http_server_early_client_close_test.dart ('k') | tests/standalone/io/process_run_output_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698