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

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

Issue 11263040: Make String.charCodes a getter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with co19 issue number. Created 8 years, 2 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/corelib/string_test.dart ('k') | tests/standalone/crypto/base64_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/crypto/base64_test.dart
diff --git a/tests/lib/crypto/base64_test.dart b/tests/lib/crypto/base64_test.dart
index fd01871c3c4a2582af4ac2b3f35cde21eaf1053e..59afc409de8ac90625dab7145f8810589d8b73b3 100644
--- a/tests/lib/crypto/base64_test.dart
+++ b/tests/lib/crypto/base64_test.dart
@@ -45,11 +45,11 @@ var longLineResultNoBreak =
void main() {
for (var i = 0; i < inputs.length; i++) {
- var enc = CryptoUtils.bytesToBase64(inputs[i].charCodes());
+ var enc = CryptoUtils.bytesToBase64(inputs[i].charCodes);
Expect.equals(results[i], enc);
}
- Expect.equals(CryptoUtils.bytesToBase64(longLine.charCodes(), 76),
+ Expect.equals(CryptoUtils.bytesToBase64(longLine.charCodes, 76),
longLineResult);
- Expect.equals(CryptoUtils.bytesToBase64(longLine.charCodes()),
+ Expect.equals(CryptoUtils.bytesToBase64(longLine.charCodes),
longLineResultNoBreak);
}
« no previous file with comments | « tests/corelib/string_test.dart ('k') | tests/standalone/crypto/base64_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698