| Index: pkg/analyzer/test/src/task/dart_test.dart
|
| diff --git a/pkg/analyzer/test/src/task/dart_test.dart b/pkg/analyzer/test/src/task/dart_test.dart
|
| index 06b94cd6699ca64c1648eb83b7eaa6f99c83ffc1..91d3bef199b8e3dd9ecd0b9a73a32406d6bcc34a 100644
|
| --- a/pkg/analyzer/test/src/task/dart_test.dart
|
| +++ b/pkg/analyzer/test/src/task/dart_test.dart
|
| @@ -5337,7 +5337,8 @@ main() {
|
| computeResult(target, VERIFY_ERRORS, matcher: isVerifyUnitTask);
|
| // validate
|
| _fillErrorListener(VERIFY_ERRORS);
|
| - errorListener.assertNoErrors();
|
| + errorListener
|
| + .assertErrorsWithCodes([CompileTimeErrorCode.DUPLICATE_DEFINITION]);
|
| }
|
|
|
| test_perform_ConstantValidator_noInitializer() {
|
|
|