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

Unified Diff: pkg/front_end/test/precedence_info_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/lib/src/scanner/errors.dart ('k') | pkg/front_end/test/scanner_fasta_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/test/precedence_info_test.dart
diff --git a/pkg/front_end/test/precedence_info_test.dart b/pkg/front_end/test/precedence_info_test.dart
index 112a1b5acd168ee0759e15ba17c7ff79d0ec8e36..6b7fcdd2fc66a036dc6ea1df9961fb4af9bf078c 100644
--- a/pkg/front_end/test/precedence_info_test.dart
+++ b/pkg/front_end/test/precedence_info_test.dart
@@ -26,8 +26,8 @@ class PrecedenceInfoTest {
check(source, token);
}
- for (TokenType info in TokenType.all) {
- assertLexeme(info.value);
+ for (TokenType type in TokenType.all) {
+ assertLexeme(type.value);
}
assertLexeme('1.0'); // DOUBLE
assertLexeme('0xA'); // HEXADECIMAL
@@ -374,7 +374,7 @@ class PrecedenceInfoTest {
for (String source in lexemes) {
var scanner = new StringScanner(source, includeComments: true);
var token = scanner.tokenize();
- expect(token.info.precedence, precedence, reason: source);
+ expect(token.type.precedence, precedence, reason: source);
}
});
}
« no previous file with comments | « pkg/front_end/lib/src/scanner/errors.dart ('k') | pkg/front_end/test/scanner_fasta_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698