| Index: pkg/analyzer/test/generated/static_warning_code_test.dart
|
| diff --git a/pkg/analyzer/test/generated/static_warning_code_test.dart b/pkg/analyzer/test/generated/static_warning_code_test.dart
|
| index d4333db39e0f784290acff6acbc871deac566ae6..f8b0893561ffdec85634b4e5f0aeb10579392162 100644
|
| --- a/pkg/analyzer/test/generated/static_warning_code_test.dart
|
| +++ b/pkg/analyzer/test/generated/static_warning_code_test.dart
|
| @@ -271,7 +271,7 @@ g(h(_A a)) {}''');
|
| // Furthermore, the error message should mention both _A and the filenames
|
| // so the user can figure out what's going on.
|
| List<AnalysisError> errors = analysisContext2.computeErrors(source);
|
| - EngineTestCase.assertLength(1, errors);
|
| + expect(errors, hasLength(1));
|
| AnalysisError error = errors[0];
|
| expect(StaticWarningCode.ARGUMENT_TYPE_NOT_ASSIGNABLE, error.errorCode);
|
| String message = error.message;
|
|
|