| 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..f11f6a96ffad671ab414f2db0942bf50fc3b6242 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);
|
| }
|
|
|