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

Unified Diff: pkg/front_end/test/scanner_fasta_test.dart

Issue 2763833002: fasta.CommentToken implement analyzer.CommentToken (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/lib/src/fasta/scanner/utf8_bytes_scanner.dart ('k') | pkg/front_end/test/token_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/test/scanner_fasta_test.dart
diff --git a/pkg/front_end/test/scanner_fasta_test.dart b/pkg/front_end/test/scanner_fasta_test.dart
index 622111895530632fce454f1c365b0bec82056bb8..050672d7f0c39151aa3bc2e95cd87fbea978baf9 100644
--- a/pkg/front_end/test/scanner_fasta_test.dart
+++ b/pkg/front_end/test/scanner_fasta_test.dart
@@ -102,7 +102,7 @@ class ScannerTest_Fasta extends ScannerTestBase {
while (!token.isEof) {
++tokenCount;
// Assert valid comments
- fasta.Token comment = token.precedingComments;
+ fasta.CommentToken comment = token.precedingComments;
while (comment != null) {
++commentTokenCount;
expect(comment.info.kind, fasta.COMMENT_TOKEN);
@@ -177,7 +177,7 @@ class ScannerTest_Fasta extends ScannerTestBase {
new fasta.StringScanner(source, includeComments: true).tokenize();
while (!token.isEof) {
expect(token.next.previousToken, token);
- fasta.Token commentToken = token.precedingComments;
+ fasta.CommentToken commentToken = token.precedingComments;
while (commentToken != null) {
if (commentToken.next != null) {
expect(commentToken.next.previousToken, commentToken);
« no previous file with comments | « pkg/front_end/lib/src/fasta/scanner/utf8_bytes_scanner.dart ('k') | pkg/front_end/test/token_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698