| 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 c01223cff632f6699c954acd8493150c1a931e62..7e861e8a0ae980750b2ef266b726c54b83787ce1 100644
|
| --- a/pkg/analyzer/test/src/task/dart_test.dart
|
| +++ b/pkg/analyzer/test/src/task/dart_test.dart
|
| @@ -5668,7 +5668,8 @@ main() {
|
| computeResult(target, VERIFY_ERRORS, matcher: isVerifyUnitTask);
|
| // validate
|
| _fillErrorListener(VERIFY_ERRORS);
|
| - errorListener.assertNoErrors();
|
| + errorListener
|
| + .assertErrorsWithCodes([CompileTimeErrorCode.DUPLICATE_DEFINITION]);
|
| }
|
|
|
| test_perform_ConstantValidator_noInitializer() {
|
|
|