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); |