mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 15:57:17 +00:00
Fix a couple of the tests failing on the analyzer with fasta parser bot
Change-Id: Ie955c2577f60efdc0ec6c8b6da0e90e08b1e5c61 Reviewed-on: https://dart-review.googlesource.com/69011 Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
This commit is contained in:
parent
63c11693e6
commit
cf560fe17b
|
@ -47,7 +47,7 @@ abstract class DartCompletionContributorTest extends AbstractContextTest {
|
|||
*/
|
||||
bool get suggestConstructorsWithoutNew => true;
|
||||
|
||||
bool get usingFastaParser => analyzer.Parser.useFasta;
|
||||
bool get usingFastaParser => useCFE || analyzer.Parser.useFasta;
|
||||
|
||||
void addTestSource(String content) {
|
||||
expect(completionOffset, isNull, reason: 'Call addTestUnit exactly once');
|
||||
|
|
|
@ -1884,18 +1884,6 @@ class KeywordContributorTest_UseCFE extends KeywordContributorTest {
|
|||
@override
|
||||
test_after_import2() => super.test_after_import2();
|
||||
|
||||
@failingTest
|
||||
@override
|
||||
test_anonymous_function_async2() => super.test_anonymous_function_async2();
|
||||
|
||||
@failingTest
|
||||
@override
|
||||
test_anonymous_function_async7() => super.test_anonymous_function_async7();
|
||||
|
||||
@failingTest
|
||||
@override
|
||||
test_anonymous_function_async9() => super.test_anonymous_function_async9();
|
||||
|
||||
@failingTest
|
||||
@override
|
||||
test_class_extends_name() => super.test_class_extends_name();
|
||||
|
@ -1920,10 +1908,6 @@ class KeywordContributorTest_UseCFE extends KeywordContributorTest {
|
|||
@override
|
||||
test_for_initialization_var() => super.test_for_initialization_var();
|
||||
|
||||
@failingTest
|
||||
@override
|
||||
test_function_async() => super.test_function_async();
|
||||
|
||||
@failingTest
|
||||
@override
|
||||
test_function_async4() => super.test_function_async4();
|
||||
|
|
Loading…
Reference in a new issue