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) { |