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

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

Issue 2961063002: Allow trailing comma in assert (Closed)
Patch Set: Created 3 years, 6 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/analyzer/lib/src/generated/parser.dart ('k') | pkg/analyzer/test/generated/parser_test.dart » ('j') | 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 7897260719eede01b3026628ca05c077465bc9a3..00b242fa9d8f174eb8181a9f7632484f661c8cb4 100644
--- a/pkg/analyzer/test/generated/parser_fasta_test.dart
+++ b/pkg/analyzer/test/generated/parser_fasta_test.dart
@@ -283,9 +283,6 @@ class FastaParserTestCase extends Object
bool enableGenericMethodComments = false;
@override
- bool get usingFasta => true;
-
- @override
set enableAssertInitializer(bool value) {
if (value == true) {
// TODO(paulberry,ahe): it looks like asserts in initializer lists are not
@@ -324,6 +321,9 @@ class FastaParserTestCase extends Object
analyzer.Parser get parser => _parserProxy;
@override
+ bool get usingFasta => true;
+
+ @override
void assertErrorsWithCodes(List<ErrorCode> expectedErrorCodes) {
// TODO(scheglov): implement assertErrorsWithCodes
fail('Not implemented');
@@ -906,6 +906,18 @@ class StatementParserTest_Fasta extends FastaParserTestCase
with StatementParserTestMixin {
@override
@failingTest
+ void test_parseAssertStatement_trailingComma_message() {
+ super.test_parseAssertStatement_trailingComma_message();
+ }
+
+ @override
+ @failingTest
+ void test_parseAssertStatement_trailingComma_noMessage() {
+ super.test_parseAssertStatement_trailingComma_noMessage();
+ }
+
+ @override
+ @failingTest
void test_parseBreakStatement_noLabel() {
super.test_parseBreakStatement_noLabel();
}
« no previous file with comments | « pkg/analyzer/lib/src/generated/parser.dart ('k') | pkg/analyzer/test/generated/parser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698