Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(505)

Unified Diff: pkg/analysis_server/test/integration/edit/organize_directives_test.dart

Issue 2746333008: Run dartfmt on dart2js codebase. (Closed)
Patch Set: Format all analyzer packages Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698