Index: tests/standalone/crypto/base64_test.dart |
diff --git a/tests/standalone/crypto/base64_test.dart b/tests/standalone/crypto/base64_test.dart |
index 5a77da5fb4449852002d11f8c1a97b8eff7c1c0e..1d47aac4121a7c6a96b7fe80c5d1e1e9b4f22c61 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.charCodes)); |
+ Expect.listEquals(line.charCodes, _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.charCodes)); |
+ Expect.listEquals(line.charCodes, _Base64._decode(expected)); |
for (int i = 0; i < 256; i++) { |
List<int> x = [i]; |