| Index: pkg/analyzer/test/generated/incremental_resolver_test.dart
|
| diff --git a/pkg/analyzer/test/generated/incremental_resolver_test.dart b/pkg/analyzer/test/generated/incremental_resolver_test.dart
|
| index 40dfb9c350eef21202064d2cb9eeb05540bdc9e6..d880c28f7200e9142f372d9b24f8c124eb8f884d 100644
|
| --- a/pkg/analyzer/test/generated/incremental_resolver_test.dart
|
| +++ b/pkg/analyzer/test/generated/incremental_resolver_test.dart
|
| @@ -305,6 +305,66 @@ class B<T> = Object with M<T>;
|
| ''');
|
| }
|
|
|
| + void test_false_constructor_keywordConst_add() {
|
| + _assertDoesNotMatch(r'''
|
| +class A {
|
| + A();
|
| +}
|
| +''', r'''
|
| +class A {
|
| + const A();
|
| +}
|
| +''');
|
| + }
|
| +
|
| + void test_false_constructor_keywordConst_remove() {
|
| + _assertDoesNotMatch(r'''
|
| +class A {
|
| + const A();
|
| +}
|
| +''', r'''
|
| +class A {
|
| + A();
|
| +}
|
| +''');
|
| + }
|
| +
|
| + void test_false_constructor_keywordFactory_add() {
|
| + _assertDoesNotMatch(r'''
|
| +class A {
|
| + A();
|
| + A.foo() {
|
| + return new A();
|
| + }
|
| +}
|
| +''', r'''
|
| +class A {
|
| + A();
|
| + factory A.foo() {
|
| + return new A();
|
| + }
|
| +}
|
| +''');
|
| + }
|
| +
|
| + void test_false_constructor_keywordFactory_remove() {
|
| + _assertDoesNotMatch(r'''
|
| +class A {
|
| + A();
|
| + factory A.foo() {
|
| + return new A();
|
| + }
|
| +}
|
| +''', r'''
|
| +class A {
|
| + A();
|
| + A.foo() {
|
| + return new A();
|
| + }
|
| +}
|
| +''');
|
| + }
|
| +
|
| void test_false_constructor_parameters_list_add() {
|
| _assertDoesNotMatch(r'''
|
| class A {
|
|
|