Index: pkg/analyzer/test/generated/compile_time_error_code_test.dart |
diff --git a/pkg/analyzer/test/generated/compile_time_error_code_test.dart b/pkg/analyzer/test/generated/compile_time_error_code_test.dart |
index f3e477a1a06c79bb543cb8d003434ec1a73491cc..5c85955e1a474fa1b330b685a686699671883617 100644 |
--- a/pkg/analyzer/test/generated/compile_time_error_code_test.dart |
+++ b/pkg/analyzer/test/generated/compile_time_error_code_test.dart |
@@ -2334,8 +2334,10 @@ class A { |
A(this.x, this.x) {} |
}'''); |
computeLibrarySourceErrors(source); |
- assertErrors( |
- source, [CompileTimeErrorCode.FINAL_INITIALIZED_MULTIPLE_TIMES]); |
+ assertErrors(source, [ |
+ CompileTimeErrorCode.DUPLICATE_DEFINITION, |
+ CompileTimeErrorCode.FINAL_INITIALIZED_MULTIPLE_TIMES |
+ ]); |
verify([source]); |
} |