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

Unified Diff: pkg/analyzer/test/src/dart/analysis/search_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/analyzer/test/src/dart/analysis/search_test.dart
diff --git a/pkg/analyzer/test/src/dart/analysis/search_test.dart b/pkg/analyzer/test/src/dart/analysis/search_test.dart
index e34e1676060dfd864ac372c190f152b2209d9758..c5daa6b87f159b4898f5ab40c563612f10a336c7 100644
--- a/pkg/analyzer/test/src/dart/analysis/search_test.dart
+++ b/pkg/analyzer/test/src/dart/analysis/search_test.dart
@@ -238,9 +238,7 @@ List<A> v2 = null;
}
test_searchReferences_ClassElement_definedOutside() async {
- provider.newFile(
- _p('$testProject/lib.dart'),
- r'''
+ provider.newFile(_p('$testProject/lib.dart'), r'''
class A {};
''');
await _resolveTestUnit('''
@@ -964,9 +962,7 @@ class A {
}
test_searchReferences_TopLevelVariableElement() async {
- provider.newFile(
- _p('$testProject/lib.dart'),
- '''
+ provider.newFile(_p('$testProject/lib.dart'), '''
library lib;
var V;
''');
@@ -1139,15 +1135,11 @@ class F {}
test_subtypes_files() async {
String pathB = _p('$testProject/b.dart');
String pathC = _p('$testProject/c.dart');
- provider.newFile(
- pathB,
- r'''
+ provider.newFile(pathB, r'''
import 'test.dart';
class B extends A {}
''');
- provider.newFile(
- pathC,
- r'''
+ provider.newFile(pathC, r'''
import 'test.dart';
class C extends A {}
class D {}
« no previous file with comments | « pkg/analyzer/test/src/dart/analysis/index_test.dart ('k') | pkg/analyzer/test/src/dart/constant/evaluation_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698