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

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: 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 122e0754cf9ed997e43d64d15928487c2c923f76..199af84797fc9c9d1d10a4aa12d96fb4cfe5e1a6 100644
--- a/tests/standalone/io/mime_multipart_parser_test.dart
+++ b/tests/standalone/io/mime_multipart_parser_test.dart
@@ -42,7 +42,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];
}
@@ -78,7 +78,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);

Powered by Google App Engine
This is Rietveld 408576698