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

Unified Diff: pkg/analyzer/test/generated/parser_fasta_test.dart

Issue 2772943004: Remove trailing semicolons to make the tests pass with Fasta. (Closed)
Patch Set: Remove EOF expectation from Fasta unit test. 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/parser_fasta_test.dart
diff --git a/pkg/analyzer/test/generated/parser_fasta_test.dart b/pkg/analyzer/test/generated/parser_fasta_test.dart
index c52ed165b1aafa836a7ad0161c6b308c97895418..cd9a1f35e8494b3379b7c585d06dced37cdc3e9d 100644
--- a/pkg/analyzer/test/generated/parser_fasta_test.dart
+++ b/pkg/analyzer/test/generated/parser_fasta_test.dart
@@ -134,14 +134,6 @@ class ComplexParserTest_Fasta extends FastaParserTestCase
@override
@failingTest
- void test_cascade_withAssignment() {
- // TODO(paulberry,ahe): AstBuilder doesn't implement
- // endConstructorReference().
- super.test_cascade_withAssignment();
- }
-
- @override
- @failingTest
void test_conditionalExpression_precedence_nullableType_as() {
// TODO(paulberry,ahe): Fasta doesn't support NNBD syntax yet.
super.test_conditionalExpression_precedence_nullableType_as();
@@ -1024,7 +1016,6 @@ class ParserProxy implements analyzer.Parser {
Object _run(ParseFunction getParseFunction(fasta.Parser parser)) {
var parseFunction = getParseFunction(_fastaParser);
_currentFastaToken = parseFunction(_currentFastaToken);
- expect(_currentFastaToken.isEof, isTrue);
expect(_astBuilder.stack, hasLength(1));
return _astBuilder.pop();
}
@@ -1101,18 +1092,6 @@ class StatementParserTest_Fasta extends FastaParserTestCase
@override
@failingTest
- void test_parseNonLabeledStatement_functionDeclaration() {
- super.test_parseNonLabeledStatement_functionDeclaration();
- }
-
- @override
- @failingTest
- void test_parseNonLabeledStatement_functionDeclaration_arguments() {
- super.test_parseNonLabeledStatement_functionDeclaration_arguments();
- }
-
- @override
- @failingTest
void test_parseStatement_emptyTypeArgumentList() {
super.test_parseStatement_emptyTypeArgumentList();
}
@@ -1127,24 +1106,6 @@ class StatementParserTest_Fasta extends FastaParserTestCase
@override
@failingTest
- void test_parseStatement_functionDeclaration_noReturnType_typeParameters() {
- super.test_parseStatement_functionDeclaration_noReturnType_typeParameters();
- }
-
- @override
- @failingTest
- void test_parseStatement_functionDeclaration_returnType() {
- super.test_parseStatement_functionDeclaration_returnType();
- }
-
- @override
- @failingTest
- void test_parseStatement_functionDeclaration_returnType_typeParameters() {
- super.test_parseStatement_functionDeclaration_returnType_typeParameters();
- }
-
- @override
- @failingTest
void test_parseTryStatement_catch_finally() {
super.test_parseTryStatement_catch_finally();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698