| 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 f043d2a904798735b5e257e17216b68d21d65de8..d20b9b29d9eed60b65154c94bd8cc7365352933c 100644
|
| --- a/pkg/analyzer/test/src/task/dart_test.dart
|
| +++ b/pkg/analyzer/test/src/task/dart_test.dart
|
| @@ -870,37 +870,8 @@ part of my_lib;
|
| part of my_lib;
|
| '''
|
| });
|
| - if (context.analysisOptions.enableUriInPartOf) {
|
| - // TODO(28522)
|
| - // Should report that names are wrong.
|
| - } else {
|
| - _assertErrorsWithCodes(
|
| - [ResolverErrorCode.MISSING_LIBRARY_DIRECTIVE_WITH_PART]);
|
| - AnalysisError error = errorListener.errors[0];
|
| - }
|
| - }
|
| -
|
| - test_perform_error_missingLibraryDirectiveWithPart_noCommon() {
|
| - _performBuildTask({
|
| - '/lib.dart': '''
|
| -part 'partA.dart';
|
| -part 'partB.dart';
|
| -''',
|
| - '/partA.dart': '''
|
| -part of libA;
|
| - ''',
|
| - '/partB.dart': '''
|
| -part of libB;
|
| -'''
|
| - });
|
| - if (context.analysisOptions.enableUriInPartOf) {
|
| - // TODO(28522)
|
| - // Should report that names are wrong.
|
| - } else {
|
| - _assertErrorsWithCodes(
|
| - [ResolverErrorCode.MISSING_LIBRARY_DIRECTIVE_WITH_PART]);
|
| - AnalysisError error = errorListener.errors[0];
|
| - }
|
| + _assertErrorsWithCodes(
|
| + [ResolverErrorCode.MISSING_LIBRARY_DIRECTIVE_WITH_PART]);
|
| }
|
|
|
| test_perform_error_partDoesNotExist() {
|
|
|