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

Unified Diff: tests/compiler/dart2js/begin_end_token_test.dart

Issue 27510003: Scanner for UTF-8 byte arrays (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fixes compiler tests Created 7 years, 2 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/compiler/dart2js/begin_end_token_test.dart
diff --git a/tests/compiler/dart2js/begin_end_token_test.dart b/tests/compiler/dart2js/begin_end_token_test.dart
index fe8c9101f9b971e282902f50bfe2476b468f3ac2..34d18a6e7832a5eaafea20db0a11eb2a28eb3c90 100644
--- a/tests/compiler/dart2js/begin_end_token_test.dart
+++ b/tests/compiler/dart2js/begin_end_token_test.dart
@@ -16,7 +16,7 @@ void testNode(Node node, String expected, String text, [bool hard = true]) {
Expect.isNotNull(endToken, debug);
int begin = beginToken.charOffset;
- int end = endToken.charOffset + endToken.slowCharCount;
+ int end = endToken.charOffset + endToken.charCount;
Expect.isTrue(begin <= end, debug);
if (hard) {

Powered by Google App Engine
This is Rietveld 408576698