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

Unified Diff: pkg/analyzer/test/generated/element_resolver_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/generated/element_resolver_test.dart
diff --git a/pkg/analyzer/test/generated/element_resolver_test.dart b/pkg/analyzer/test/generated/element_resolver_test.dart
index 26c6ab060d9cf6cc0a263038c9f3e60758d68988..37e48ccd0f7fce058aab8c438e56eeec6950b409 100644
--- a/pkg/analyzer/test/generated/element_resolver_test.dart
+++ b/pkg/analyzer/test/generated/element_resolver_test.dart
@@ -39,9 +39,7 @@ main() {
@reflectiveTest
class ElementResolverCodeTest extends ResolverTestCase {
test_annotation_class_namedConstructor() async {
- addNamedSource(
- '/a.dart',
- r'''
+ addNamedSource('/a.dart', r'''
class A {
const A.named();
}
@@ -71,9 +69,7 @@ class A {
}
test_annotation_class_prefixed_namedConstructor() async {
- addNamedSource(
- '/a.dart',
- r'''
+ addNamedSource('/a.dart', r'''
class A {
const A.named();
}
@@ -105,9 +101,7 @@ class A {
}
test_annotation_class_prefixed_staticConstField() async {
- addNamedSource(
- '/a.dart',
- r'''
+ addNamedSource('/a.dart', r'''
class A {
static const V = 0;
}
@@ -137,9 +131,7 @@ class A {
}
test_annotation_class_prefixed_unnamedConstructor() async {
- addNamedSource(
- '/a.dart',
- r'''
+ addNamedSource('/a.dart', r'''
class A {
const A();
}
@@ -167,9 +159,7 @@ class A {
}
test_annotation_class_staticConstField() async {
- addNamedSource(
- '/a.dart',
- r'''
+ addNamedSource('/a.dart', r'''
class A {
static const V = 0;
}
@@ -197,9 +187,7 @@ class A {
}
test_annotation_class_unnamedConstructor() async {
- addNamedSource(
- '/a.dart',
- r'''
+ addNamedSource('/a.dart', r'''
class A {
const A();
}
@@ -225,9 +213,7 @@ class A {
}
test_annotation_topLevelVariable() async {
- addNamedSource(
- '/a.dart',
- r'''
+ addNamedSource('/a.dart', r'''
const V = 0;
''');
await _validateAnnotation('', '@V', (SimpleIdentifier name1,
@@ -252,9 +238,7 @@ const V = 0;
}
test_annotation_topLevelVariable_prefixed() async {
- addNamedSource(
- '/a.dart',
- r'''
+ addNamedSource('/a.dart', r'''
const V = 0;
''');
await _validateAnnotation('as p', '@p.V', (SimpleIdentifier name1,
« no previous file with comments | « pkg/analyzer/test/generated/compile_time_error_code_test.dart ('k') | pkg/analyzer/test/generated/hint_code_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698