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

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

Issue 2872453004: cleanup TokenType var names (Closed)
Patch Set: Created 3 years, 7 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/test/scanner_replacement_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/scanner_test.dart
diff --git a/tests/compiler/dart2js/scanner_test.dart b/tests/compiler/dart2js/scanner_test.dart
index 8dd1aed7f92f942f19258e43f15b103eb6230993..9cd8ba1aa65d3c3a98de6e6d20a016c33a9dae9e 100644
--- a/tests/compiler/dart2js/scanner_test.dart
+++ b/tests/compiler/dart2js/scanner_test.dart
@@ -184,7 +184,7 @@ main() {
// Regression test for issue 1761.
// "#!"
token = scan([0x23, 0x21]);
- Expect.equals(token.info, TokenType.SCRIPT_TAG); // Treated as a comment.
+ Expect.equals(token.type, TokenType.SCRIPT_TAG); // Treated as a comment.
// Regression test for issue 1761.
// "#! Hello, World!"
@@ -206,5 +206,5 @@ main() {
0x64,
0x21
]);
- Expect.equals(token.info, TokenType.SCRIPT_TAG); // Treated as a comment.
+ Expect.equals(token.type, TokenType.SCRIPT_TAG); // Treated as a comment.
}
« no previous file with comments | « pkg/front_end/test/scanner_replacement_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698