| Index: pkg/analysis_server/test/integration/edit/organize_directives_test.dart
|
| diff --git a/pkg/analysis_server/test/integration/edit/organize_directives_test.dart b/pkg/analysis_server/test/integration/edit/organize_directives_test.dart
|
| index 3356a66a7d9a001041a46612a06565e5691aceb2..c0277e08b02b877efbc930c868bc94c435b5f8f5 100644
|
| --- a/pkg/analysis_server/test/integration/edit/organize_directives_test.dart
|
| +++ b/pkg/analysis_server/test/integration/edit/organize_directives_test.dart
|
| @@ -28,10 +28,12 @@ int minified(int x, int y) => min(x, y);
|
| writeFile(pathname, text);
|
| standardAnalysisSetup();
|
|
|
| - EditOrganizeDirectivesResult result = await sendEditOrganizeDirectives(pathname);
|
| + EditOrganizeDirectivesResult result =
|
| + await sendEditOrganizeDirectives(pathname);
|
| SourceFileEdit edit = result.edit;
|
| expect(edit.edits, hasLength(1));
|
| - expect(edit.edits.first.replacement, "import 'dart:async';\nimport 'dart:math");
|
| + expect(edit.edits.first.replacement,
|
| + "import 'dart:async';\nimport 'dart:math");
|
| }
|
|
|
| test_organize_directives_no_changes() async {
|
| @@ -46,7 +48,8 @@ int minified(int x, int y) => min(x, y);
|
| writeFile(pathname, text);
|
| standardAnalysisSetup();
|
|
|
| - EditOrganizeDirectivesResult result = await sendEditOrganizeDirectives(pathname);
|
| + EditOrganizeDirectivesResult result =
|
| + await sendEditOrganizeDirectives(pathname);
|
| SourceFileEdit edit = result.edit;
|
| expect(edit.edits, isEmpty);
|
| }
|
| @@ -69,7 +72,4 @@ int minified(int x, int y) => min(x, y);
|
| expect(message.error['code'], 'ORGANIZE_DIRECTIVES_ERROR');
|
| }
|
| }
|
| -
|
| - @override
|
| - bool get enableNewAnalysisDriver => true;
|
| }
|
|
|