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

Unified Diff: pkg/analysis_server/test/services/completion/dart/combinator_contributor_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/services/completion/dart/combinator_contributor_test.dart
diff --git a/pkg/analysis_server/test/services/completion/dart/combinator_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/combinator_contributor_test.dart
index c0d7674cd6a63e69fd6a998865962ea8d432a74a..aa5e2aeca61df7cd1197e58cf4536d8c729b6392 100644
--- a/pkg/analysis_server/test/services/completion/dart/combinator_contributor_test.dart
+++ b/pkg/analysis_server/test/services/completion/dart/combinator_contributor_test.dart
@@ -36,23 +36,17 @@ class CombinatorContributorTest extends DartCompletionContributorTest {
test_Combinator_hide() async {
// SimpleIdentifier HideCombinator ImportDirective
- addSource(
- '/testAB.dart',
- '''
+ addSource('/testAB.dart', '''
library libAB;
part '/partAB.dart';
class A { }
class B { }''');
- addSource(
- '/partAB.dart',
- '''
+ addSource('/partAB.dart', '''
part of libAB;
var T1;
PB F1() => new PB();
class PB { }''');
- addSource(
- '/testCD.dart',
- '''
+ addSource('/testCD.dart', '''
class C { }
class D { }''');
addTestSource('''
@@ -82,26 +76,20 @@ class CombinatorContributorTest extends DartCompletionContributorTest {
test_Combinator_show() async {
// SimpleIdentifier HideCombinator ImportDirective
- addSource(
- '/testAB.dart',
- '''
+ addSource('/testAB.dart', '''
library libAB;
part '/partAB.dart';
class A { }
class B { }
class _AB''');
- addSource(
- '/partAB.dart',
- '''
+ addSource('/partAB.dart', '''
part of libAB;
var T1;
PB F1() => new PB();
typedef PB2 F2(int blat);
class Clz = Object with Object;
class PB { }''');
- addSource(
- '/testCD.dart',
- '''
+ addSource('/testCD.dart', '''
class C { }
class D { }''');
addTestSource('''

Powered by Google App Engine
This is Rietveld 408576698