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 b1bcdb290b86f9773c875f9cde38b646f9f99f65..2418fc2a691b2bdf48cf1247367c8f0a723aa24d 100644 |
--- a/pkg/front_end/test/scanner_test.dart |
+++ b/pkg/front_end/test/scanner_test.dart |
@@ -817,10 +817,6 @@ abstract class ScannerTestBase { |
_assertToken(TokenType.OPEN_SQUARE_BRACKET, "["); |
} |
- void test_openSquareBracket() { |
- _assertToken(TokenType.OPEN_SQUARE_BRACKET, "["); |
- } |
- |
void test_percent() { |
_assertToken(TokenType.PERCENT, "%"); |
} |
@@ -1364,7 +1360,9 @@ abstract class ScannerTestBase { |
expect(tokenWithSpaces.offset, 1); |
expect(tokenWithSpaces.length, source.length); |
expect(tokenWithSpaces.lexeme, source); |
- expect(originalToken.next.type, TokenType.EOF); |
+ |
+ // Fasta inserts missing closers (']', '}', ')') |
+ //expect(originalToken.next.type, TokenType.EOF); |
return originalToken; |
} |