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

Unified Diff: tests/standalone/crypto/base64_test.dart

Issue 12282038: Remove deprecated string features. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge to head 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
« no previous file with comments | « tests/lib/crypto/base64_test.dart ('k') | tests/standalone/io/file_input_stream_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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];
« no previous file with comments | « tests/lib/crypto/base64_test.dart ('k') | tests/standalone/io/file_input_stream_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698