| Index: pkg/analysis_server/test/services/correction/fix_test.dart
|
| diff --git a/pkg/analysis_server/test/services/correction/fix_test.dart b/pkg/analysis_server/test/services/correction/fix_test.dart
|
| index 1f6be7aa264a105f41e5b048816f800582c0ccbf..fa6530d8495a7c0965a6ac1d1fbf02e952d086e7 100644
|
| --- a/pkg/analysis_server/test/services/correction/fix_test.dart
|
| +++ b/pkg/analysis_server/test/services/correction/fix_test.dart
|
| @@ -1024,7 +1024,6 @@ main() {
|
| }
|
|
|
| void test_importLibrarySdk_withTopLevelVariable() {
|
| - _ensureSdkMathLibraryResolved();
|
| _indexTestUnit('''
|
| main() {
|
| print(PI);
|
| @@ -1041,7 +1040,6 @@ main() {
|
| }
|
|
|
| void test_importLibrarySdk_withType_invocationTarget() {
|
| - _ensureSdkAsyncLibraryResolved();
|
| _indexTestUnit('''
|
| main() {
|
| Future.wait(null);
|
| @@ -1057,7 +1055,6 @@ main() {
|
| }
|
|
|
| void test_importLibrarySdk_withType_typeAnnotation() {
|
| - _ensureSdkAsyncLibraryResolved();
|
| _indexTestUnit('''
|
| main() {
|
| Future f = null;
|
| @@ -1073,7 +1070,6 @@ main() {
|
| }
|
|
|
| void test_importLibrarySdk_withType_typeAnnotation_PrefixedIdentifier() {
|
| - _ensureSdkAsyncLibraryResolved();
|
| _indexTestUnit('''
|
| main() {
|
| Future.wait;
|
| @@ -1813,22 +1809,6 @@ main() {
|
| }
|
| }
|
|
|
| - /**
|
| - * We search for elements only already resolved lbiraries, and we use
|
| - * `dart:async` elements in tests.
|
| - */
|
| - void _ensureSdkAsyncLibraryResolved() {
|
| - resolveLibraryUnit(addSource('/other.dart', 'import "dart:async";'));
|
| - }
|
| -
|
| - /**
|
| - * We search for elements only already resolved lbiraries, and we use
|
| - * `dart:async` elements in tests.
|
| - */
|
| - void _ensureSdkMathLibraryResolved() {
|
| - resolveLibraryUnit(addSource('/other.dart', 'import "dart:math";'));
|
| - }
|
| -
|
| AnalysisError _findErrorToFix() {
|
| List<AnalysisError> errors = context.computeErrors(testSource);
|
| expect(
|
|
|