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

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

Issue 2738313002: rename fasta.Token.value --> lexeme (Closed)
Patch Set: merge Created 3 years, 9 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 | « pkg/front_end/tool/fasta_perf.dart ('k') | tests/compiler/dart2js/scanner_offset_length_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/partial_parser_test.dart
diff --git a/tests/compiler/dart2js/partial_parser_test.dart b/tests/compiler/dart2js/partial_parser_test.dart
index 0bc4de2db10439b186c140f81ecfb32d9c1ed906..5acb840e5ab0d90d21963c94ee91b7824979baa7 100644
--- a/tests/compiler/dart2js/partial_parser_test.dart
+++ b/tests/compiler/dart2js/partial_parser_test.dart
@@ -14,13 +14,13 @@ void testSkipExpression() {
PartialParser parser = new PartialParser(new Listener());
Token token = scan('a < b;');
token = parser.skipExpression(token);
- Expect.equals(';', token.value);
+ Expect.equals(';', token.lexeme);
token = scan('[a < b]').next;
token = parser.skipExpression(token);
- Expect.equals(']', token.value);
+ Expect.equals(']', token.lexeme);
token = scan('a < b,');
token = parser.skipExpression(token);
- Expect.equals(',', token.value);
+ Expect.equals(',', token.lexeme);
}
« no previous file with comments | « pkg/front_end/tool/fasta_perf.dart ('k') | tests/compiler/dart2js/scanner_offset_length_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698