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

Unified Diff: pkg/analyzer/test/dart/element/builder_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/dart/element/builder_test.dart
diff --git a/pkg/analyzer/test/dart/element/builder_test.dart b/pkg/analyzer/test/dart/element/builder_test.dart
index 42d7c90d284e18d631f887abf94aba33e5396db0..0ca09cd14a6aa67d89a434cf25f15615f1594f92 100644
--- a/pkg/analyzer/test/dart/element/builder_test.dart
+++ b/pkg/analyzer/test/dart/element/builder_test.dart
@@ -1147,13 +1147,11 @@ main() {
}
void test_visitFieldFormalParameter() {
- CompilationUnit unit = parseCompilationUnit(
- r'''
+ CompilationUnit unit = parseCompilationUnit(r'''
main() {
f(a, this.b) {}
}
-''',
- [ParserErrorCode.FIELD_INITIALIZER_OUTSIDE_CONSTRUCTOR]);
+''', [ParserErrorCode.FIELD_INITIALIZER_OUTSIDE_CONSTRUCTOR]);
var main = unit.declarations[0] as FunctionDeclaration;
var mainBody = main.functionExpression.body as BlockFunctionBody;
var mainBlock = mainBody.block;
« no previous file with comments | « pkg/analysis_server/test/src/computer/import_elements_computer_test.dart ('k') | pkg/analyzer/test/embedder_tests.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698