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

Unified Diff: pkg/analysis_server/test/edit/assists_test.dart

Issue 2975253002: Format analyzer, analysis_server, analyzer_plugin, front_end and kernel with the latest dartfmt. (Closed)
Patch Set: Created 3 years, 5 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/edit/assists_test.dart
diff --git a/pkg/analysis_server/test/edit/assists_test.dart b/pkg/analysis_server/test/edit/assists_test.dart
index ac270f9b377c19c422d9ed97b56e29579210ee7b..5eecb5751063c0416ae1f39cdefb3fcb23d626ab 100644
--- a/pkg/analysis_server/test/edit/assists_test.dart
+++ b/pkg/analysis_server/test/edit/assists_test.dart
@@ -79,9 +79,7 @@ main() {
''');
await waitForTasksFinished();
await prepareAssists('v =');
- _assertHasChange(
- 'Remove type annotation',
- '''
+ _assertHasChange('Remove type annotation', '''
main() {
var v = 1;
}
@@ -96,9 +94,7 @@ main() {
''');
await waitForTasksFinished();
await prepareAssists('v =');
- _assertHasChange(
- 'Split variable declaration',
- '''
+ _assertHasChange('Split variable declaration', '''
main() {
int v;
v = 1;
@@ -117,9 +113,7 @@ main() {
int offset = findOffset(' print(1)');
int length = findOffset('}') - offset;
await prepareAssistsAt(offset, length);
- _assertHasChange(
- "Surround with 'if'",
- '''
+ _assertHasChange("Surround with 'if'", '''
main() {
if (condition) {
print(1);
« no previous file with comments | « pkg/analysis_server/test/domain_completion_test.dart ('k') | pkg/analysis_server/test/edit/postfix_completion_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698