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

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

Issue 2876993005: cleanup unused incremental resolution (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/fasta/bootstrap_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/test/token_test.dart
diff --git a/pkg/front_end/test/token_test.dart b/pkg/front_end/test/token_test.dart
index 5d014fef96de2de1a325b50f1dc81a0ac54fbbf2..bf005dca2a78fc686a5551939b14720081b8b616 100644
--- a/pkg/front_end/test/token_test.dart
+++ b/pkg/front_end/test/token_test.dart
@@ -19,16 +19,6 @@ main() {
/// Assert that fasta PrecedenceInfo implements analyzer TokenType.
@reflectiveTest
class TokenTest {
- void test_applyDelta() {
- var scanner = new StringScanner('/* 1 */ foo', includeComments: true);
- var token = scanner.tokenize();
- expect(token.offset, 8);
- expect(token.precedingComments.offset, 0);
- token.applyDelta(12);
- expect(token.offset, 20);
- expect(token.precedingComments.offset, 12);
- }
-
void test_comments() {
var source = '''
/// Single line dartdoc comment
« no previous file with comments | « pkg/front_end/test/fasta/bootstrap_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698