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 32af07a9ae38f34523e86ab48f2864a109f2b63a..d349a4f62a43ff838f4683177b9ebd5cd2efcc37 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].charCodes; |
} 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.charCodes; |
testWrite(data); |
testWrite(data, 10); |
testWrite(data, 2); |