Index: tests/standalone/crypto/base64_test.dart |
diff --git a/tests/standalone/crypto/base64_test.dart b/tests/standalone/crypto/base64_test.dart |
index a20fd204e34d307015e0c80ff6cf37be148ac52c..36546d4824c8bd012f57fa4a857ce4e7c512c24f 100644 |
--- a/tests/standalone/crypto/base64_test.dart |
+++ b/tests/standalone/crypto/base64_test.dart |
@@ -24,13 +24,13 @@ void main() { |
"Rpb24gb2Yga25vd2xlZGdlLCBleGNlZWRzIHRo\r\n" |
"ZSBzaG9ydCB2ZWhlbWVuY2Ugb2YgYW55IGNhcm" |
"5hbCBwbGVhc3VyZS4="; |
- Expect.equals(expected, _Base64._encode(line.charCodes)); |
- Expect.listEquals(line.charCodes, _Base64._decode(expected)); |
+ Expect.equals(expected, _Base64._encode(line.codeUnits)); |
+ Expect.listEquals(line.codeUnits, _Base64._decode(expected)); |
line = "Simple string"; |
expected = "U2ltcGxlIHN0cmluZw=="; |
- Expect.equals(expected, _Base64._encode(line.charCodes)); |
- Expect.listEquals(line.charCodes, _Base64._decode(expected)); |
+ Expect.equals(expected, _Base64._encode(line.codeUnits)); |
+ Expect.listEquals(line.codeUnits, _Base64._decode(expected)); |
for (int i = 0; i < 256; i++) { |
List<int> x = [i]; |