| Index: pkg/analyzer/test/generated/resolver_test.dart
|
| diff --git a/pkg/analyzer/test/generated/resolver_test.dart b/pkg/analyzer/test/generated/resolver_test.dart
|
| index 951466c9539d3ae17f7dc5b6f17722eb0ebb2432..3bba934c337f86d32b3121dd63b5164b3c8d86b3 100644
|
| --- a/pkg/analyzer/test/generated/resolver_test.dart
|
| +++ b/pkg/analyzer/test/generated/resolver_test.dart
|
| @@ -2727,10 +2727,10 @@ class CompileTimeErrorCodeTest extends ResolverTestCase {
|
| verify([source]);
|
| }
|
|
|
| - void test_initializerForNonExistant_initializer() {
|
| + void test_initializerForNonExistent_initializer() {
|
| Source source = addSource(EngineTestCase.createSource(["class A {", " A() : x = 0 {}", "}"]));
|
| resolve(source);
|
| - assertErrors(source, [CompileTimeErrorCode.INITIALIZER_FOR_NON_EXISTANT_FIELD]);
|
| + assertErrors(source, [CompileTimeErrorCode.INITIALIZER_FOR_NON_EXISTENT_FIELD]);
|
| }
|
|
|
| void test_initializerForStaticField() {
|
| @@ -2740,14 +2740,14 @@ class CompileTimeErrorCodeTest extends ResolverTestCase {
|
| verify([source]);
|
| }
|
|
|
| - void test_initializingFormalForNonExistantField() {
|
| + void test_initializingFormalForNonExistentField() {
|
| Source source = addSource(EngineTestCase.createSource(["class A {", " A(this.x) {}", "}"]));
|
| resolve(source);
|
| - assertErrors(source, [CompileTimeErrorCode.INITIALIZING_FORMAL_FOR_NON_EXISTANT_FIELD]);
|
| + assertErrors(source, [CompileTimeErrorCode.INITIALIZING_FORMAL_FOR_NON_EXISTENT_FIELD]);
|
| verify([source]);
|
| }
|
|
|
| - void test_initializingFormalForNonExistantField_notInEnclosingClass() {
|
| + void test_initializingFormalForNonExistentField_notInEnclosingClass() {
|
| Source source = addSource(EngineTestCase.createSource([
|
| "class A {",
|
| "int x;",
|
| @@ -2756,21 +2756,21 @@ class CompileTimeErrorCodeTest extends ResolverTestCase {
|
| " B(this.x) {}",
|
| "}"]));
|
| resolve(source);
|
| - assertErrors(source, [CompileTimeErrorCode.INITIALIZING_FORMAL_FOR_NON_EXISTANT_FIELD]);
|
| + assertErrors(source, [CompileTimeErrorCode.INITIALIZING_FORMAL_FOR_NON_EXISTENT_FIELD]);
|
| verify([source]);
|
| }
|
|
|
| - void test_initializingFormalForNonExistantField_optional() {
|
| + void test_initializingFormalForNonExistentField_optional() {
|
| Source source = addSource(EngineTestCase.createSource(["class A {", " A([this.x]) {}", "}"]));
|
| resolve(source);
|
| - assertErrors(source, [CompileTimeErrorCode.INITIALIZING_FORMAL_FOR_NON_EXISTANT_FIELD]);
|
| + assertErrors(source, [CompileTimeErrorCode.INITIALIZING_FORMAL_FOR_NON_EXISTENT_FIELD]);
|
| verify([source]);
|
| }
|
|
|
| - void test_initializingFormalForNonExistantField_synthetic() {
|
| + void test_initializingFormalForNonExistentField_synthetic() {
|
| Source source = addSource(EngineTestCase.createSource(["class A {", " int get x => 1;", " A(this.x) {}", "}"]));
|
| resolve(source);
|
| - assertErrors(source, [CompileTimeErrorCode.INITIALIZING_FORMAL_FOR_NON_EXISTANT_FIELD]);
|
| + assertErrors(source, [CompileTimeErrorCode.INITIALIZING_FORMAL_FOR_NON_EXISTENT_FIELD]);
|
| verify([source]);
|
| }
|
|
|
| @@ -10275,7 +10275,7 @@ class NonErrorResolverTest extends ResolverTestCase {
|
| verify([source]);
|
| }
|
|
|
| - void test_initializingFormalForNonExistantField() {
|
| + void test_initializingFormalForNonExistentField() {
|
| Source source = addSource(EngineTestCase.createSource(["class A {", " int x;", " A(this.x) {}", "}"]));
|
| resolve(source);
|
| assertNoErrors(source);
|
|
|