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

Unified Diff: tests/standalone/io/string_stream_test.dart

Issue 11411092: Revert "Add some support for the code-point code-unit distinction." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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/language/language_dart2js.status ('k') | tests/utils/utf8_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/string_stream_test.dart
diff --git a/tests/standalone/io/string_stream_test.dart b/tests/standalone/io/string_stream_test.dart
index cf8a08f177a3ad4bcde4de6fbb909270d50c15df..f335291d662b7b078ae172d50e2afa266bcbb7c5 100644
--- a/tests/standalone/io/string_stream_test.dart
+++ b/tests/standalone/io/string_stream_test.dart
@@ -29,8 +29,8 @@ void testUtf8() {
Expect.equals(new String.fromCharCodes([0xffff]), s[5]);
// Surrogate pair for U+1D11E.
- Expect.equals(new String.fromCodeUnits([0xd834, 0xdd1e]),
- s.substring(6, 8));
+ Expect.equals(new String.fromCharCodes([0xd834]), s[6]);
+ Expect.equals(new String.fromCharCodes([0xdd1e]), s[7]);
}
stream.onData = stringData;
}
« no previous file with comments | « tests/language/language_dart2js.status ('k') | tests/utils/utf8_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698