Index: pkg/analyzer_plugin/test/utilities/analyzer_converter_test.dart |
diff --git a/pkg/analyzer_plugin/test/utilities/analyzer_converter_test.dart b/pkg/analyzer_plugin/test/utilities/analyzer_converter_test.dart |
index 659ed8f05b6541d1668b2497732776db5dc21ba9..38a4f9c732222e7ccc2d1fb1c92bfa5a3c525642 100644 |
--- a/pkg/analyzer_plugin/test/utilities/analyzer_converter_test.dart |
+++ b/pkg/analyzer_plugin/test/utilities/analyzer_converter_test.dart |
@@ -181,9 +181,7 @@ class AnalyzerConverterTest extends AbstractContextTest { |
} |
test_convertElement_class() async { |
- analyzer.Source source = addSource( |
- testFile, |
- ''' |
+ analyzer.Source source = addSource(testFile, ''' |
@deprecated |
abstract class _A {} |
class B<K, V> {}'''); |
@@ -222,9 +220,7 @@ class B<K, V> {}'''); |
} |
test_convertElement_constructor() async { |
- analyzer.Source source = addSource( |
- testFile, |
- ''' |
+ analyzer.Source source = addSource(testFile, ''' |
class A { |
const A.myConstructor(int a, [String b]); |
}'''); |
@@ -262,9 +258,7 @@ class A { |
} |
test_convertElement_enum() async { |
- analyzer.Source source = addSource( |
- testFile, |
- ''' |
+ analyzer.Source source = addSource(testFile, ''' |
@deprecated |
enum _E1 { one, two } |
enum E2 { three, four }'''); |
@@ -303,9 +297,7 @@ enum E2 { three, four }'''); |
} |
test_convertElement_enumConstant() async { |
- analyzer.Source source = addSource( |
- testFile, |
- ''' |
+ analyzer.Source source = addSource(testFile, ''' |
@deprecated |
enum _E1 { one, two } |
enum E2 { three, four }'''); |
@@ -396,9 +388,7 @@ enum E2 { three, four }'''); |
} |
test_convertElement_field() async { |
- analyzer.Source source = addSource( |
- testFile, |
- ''' |
+ analyzer.Source source = addSource(testFile, ''' |
class A { |
static const myField = 42; |
}'''); |
@@ -423,9 +413,7 @@ class A { |
} |
test_convertElement_functionTypeAlias() async { |
- analyzer.Source source = addSource( |
- testFile, |
- ''' |
+ analyzer.Source source = addSource(testFile, ''' |
typedef int F<T>(String x); |
'''); |
analyzer.CompilationUnit unit = await resolveLibraryUnit(source); |
@@ -450,9 +438,7 @@ typedef int F<T>(String x); |
} |
test_convertElement_getter() async { |
- analyzer.Source source = addSource( |
- testFile, |
- ''' |
+ analyzer.Source source = addSource(testFile, ''' |
class A { |
String get myGetter => 42; |
}'''); |
@@ -477,9 +463,7 @@ class A { |
} |
test_convertElement_method() async { |
- analyzer.Source source = addSource( |
- testFile, |
- ''' |
+ analyzer.Source source = addSource(testFile, ''' |
class A { |
static List<String> myMethod(int a, {String b, int c}) { |
return null; |
@@ -505,9 +489,7 @@ class A { |
} |
test_convertElement_setter() async { |
- analyzer.Source source = addSource( |
- testFile, |
- ''' |
+ analyzer.Source source = addSource(testFile, ''' |
class A { |
set mySetter(String x) {} |
}'''); |
@@ -582,9 +564,7 @@ class A { |
} |
test_fromElement_LABEL() async { |
- analyzer.Source source = addSource( |
- testFile, |
- ''' |
+ analyzer.Source source = addSource(testFile, ''' |
main() { |
myLabel: |
while (true) { |