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

Unified Diff: utils/tests/string_encoding/unicode_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: utils/tests/string_encoding/unicode_test.dart
diff --git a/utils/tests/string_encoding/unicode_test.dart b/utils/tests/string_encoding/unicode_test.dart
index 054ff45e01933ff419b39b9cf7e8877e10f864bd..d72544ae16138f3fe9f793ebfbea4dab065e318c 100755
--- a/utils/tests/string_encoding/unicode_test.dart
+++ b/utils/tests/string_encoding/unicode_test.dart
@@ -30,7 +30,7 @@ class UnicodeTests extends TestClass {
}
void testStringCharCodes() {
- Expect.listEquals(testCodepoints, testPhrase.charCodes());
+ Expect.listEquals(testCodepoints, testPhrase.codeUnits());
floitsch 2013/02/19 14:03:06 that looks wrong: codeUnits is a getter.
Lasse Reichstein Nielsen 2013/02/20 06:38:23 This code is definitly not running anywhere. The d
}
void testCodepointsToString() {
@@ -42,6 +42,6 @@ class UnicodeTests extends TestClass {
}
void testEmptyStringCharCodes() {
- Expect.listEquals([], "".charCodes());
+ Expect.listEquals([], "".codeUnits());
floitsch 2013/02/19 14:03:06 ditto.
Lasse Reichstein Nielsen 2013/02/20 06:38:23 Done.
}
}

Powered by Google App Engine
This is Rietveld 408576698