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

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

Issue 2689733003: Add the ability to convert an analyzer token stream to a Fasta one. (Closed)
Patch Set: Created 3 years, 10 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
Index: pkg/front_end/test/scanner_test.dart
diff --git a/pkg/front_end/test/scanner_test.dart b/pkg/front_end/test/scanner_test.dart
index ad20fbf0ba4ed71a614d27e6c69823a420b19897..a163c010f9bda0778fcbae49b0a75b6406beb0c7 100644
--- a/pkg/front_end/test/scanner_test.dart
+++ b/pkg/front_end/test/scanner_test.dart
@@ -366,6 +366,10 @@ abstract class ScannerTestBase {
_assertToken(TokenType.EQ_EQ, "==");
}
+ void test_function() {
+ _assertToken(TokenType.FUNCTION, "=>");
+ }
+
void test_gt() {
_assertToken(TokenType.GT, ">");
}

Powered by Google App Engine
This is Rietveld 408576698