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

Unified Diff: tests/language/invocation_mirror_invoke_on2_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
Index: tests/language/invocation_mirror_invoke_on2_test.dart
diff --git a/tests/language/invocation_mirror_invoke_on2_test.dart b/tests/language/invocation_mirror_invoke_on2_test.dart
index b8bec8a968478b551ff6407755b5a2db7818654a..0e4deac76be1e00e0ca3e8294023a044cbf05cf4 100644
--- a/tests/language/invocation_mirror_invoke_on2_test.dart
+++ b/tests/language/invocation_mirror_invoke_on2_test.dart
@@ -48,7 +48,7 @@ testString() {
var string = "funky";
var proxy = new Proxy(string);
- Expect.equals(string.charCodeAt(0), proxy.charCodeAt(0));
+ Expect.equals(string.codeUnitAt(0), proxy.codeUnitAt(0));
Expect.equals(string.length, proxy.length);
Expect.throws(() => proxy.funky(), (e) => e is NoSuchMethodError);
« no previous file with comments | « tests/language/interceptor_test.dart ('k') | tests/language/optimized_constant_array_string_access_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698