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

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: 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 | « utils/tests/string_encoding/dunit.dart ('k') | utils/tests/string_encoding/utf16_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..5b57377d811eec8cdd64d88643ac476aa60d3e3c 100755
--- a/utils/tests/string_encoding/unicode_test.dart
+++ b/utils/tests/string_encoding/unicode_test.dart
@@ -5,7 +5,7 @@
library unicode_tests;
import 'dunit.dart';
-import '../../../lib/utf/utf.dart';
+import '../../../sdk/lib/utf/utf.dart';
void main() {
TestSuite suite = new TestSuite();
@@ -30,7 +30,7 @@ class UnicodeTests extends TestClass {
}
void testStringCharCodes() {
- Expect.listEquals(testCodepoints, testPhrase.charCodes());
+ Expect.listEquals(testCodepoints, testPhrase.codeUnits);
}
void testCodepointsToString() {
@@ -42,6 +42,6 @@ class UnicodeTests extends TestClass {
}
void testEmptyStringCharCodes() {
- Expect.listEquals([], "".charCodes());
+ Expect.listEquals([], "".codeUnits);
}
}
« no previous file with comments | « utils/tests/string_encoding/dunit.dart ('k') | utils/tests/string_encoding/utf16_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698