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

Unified Diff: tests/corelib/string_base_vm_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/corelib/json_test.dart ('k') | tests/corelib/string_character_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/string_base_vm_test.dart
diff --git a/tests/corelib/string_base_vm_test.dart b/tests/corelib/string_base_vm_test.dart
index f043f336d96263ccd12d6cb0f9be6c1bd412c2b5..4215afc98895859a86b5c0a44b378e12959c6cdf 100644
--- a/tests/corelib/string_base_vm_test.dart
+++ b/tests/corelib/string_base_vm_test.dart
@@ -30,8 +30,8 @@ class StringBaseTest {
List<int> ga = new List();
bool exception_caught = false;
for (int i = 0; i < a.length; i++) {
- a[i] = s.charCodeAt(i);
- ga.add(s.charCodeAt(i));
+ a[i] = s.codeUnitAt(i);
+ ga.add(s.codeUnitAt(i));
}
try {
String s4 = new String.fromCharCodes([0.0]);
« no previous file with comments | « tests/corelib/json_test.dart ('k') | tests/corelib/string_character_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698