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

Unified Diff: tests/corelib/strings_test.dart

Issue 12282038: Remove deprecated string features. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
Index: tests/corelib/strings_test.dart
diff --git a/tests/corelib/strings_test.dart b/tests/corelib/strings_test.dart
index ef1766359f244b9efca07a021ed92805477bec91..49d5cb5ff2c26a3a5b8baa98bade382e96062957 100644
--- a/tests/corelib/strings_test.dart
+++ b/tests/corelib/strings_test.dart
@@ -15,7 +15,7 @@ class StringsTest {
String s = "Hello";
List<int> l = new List.fixedLength(s.length);
for (int i = 0; i < l.length; i++) {
- l[i] = s.charCodeAt(i);
+ l[i] = s.codeUnitAt(i);
}
String s2 = new String.fromCharCodes(l);
Expect.equals(s, s2);

Powered by Google App Engine
This is Rietveld 408576698