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

Unified Diff: pkg/analysis_server/test/integration/analysis/update_content_list_test.dart

Issue 969113002: Reformat (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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/integration/analysis/update_content_list_test.dart
diff --git a/pkg/analysis_server/test/integration/analysis/update_content_list_test.dart b/pkg/analysis_server/test/integration/analysis/update_content_list_test.dart
index 7a8f10bc4624ebd88ee2ffe364abc00695493f63..2450fd834334413e2a87e28682f66a316479fd76 100644
--- a/pkg/analysis_server/test/integration/analysis/update_content_list_test.dart
+++ b/pkg/analysis_server/test/integration/analysis/update_content_list_test.dart
@@ -28,9 +28,7 @@ main() {
writeFile(pathname, '// dummy text');
standardAnalysisSetup();
// Override file contents with badText.
- sendAnalysisUpdateContent({
- pathname: new AddContentOverlay(badText)
- });
+ sendAnalysisUpdateContent({pathname: new AddContentOverlay(badText)});
return analysisFinished.then((_) {
// The overridden contents (badText) are missing quotation marks.
expect(currentAnalysisErrors[pathname], isNotEmpty);
@@ -39,11 +37,11 @@ main() {
// order in which they appear in the file. If these edits are applied in
// the wrong order, some of the quotation marks will be in the wrong
// places, and there will still be errors.
- List<SourceEdit> edits = '"'.allMatches(
- goodText).map((Match match) => new SourceEdit(match.start, 0, '"')).toList();
- sendAnalysisUpdateContent({
- pathname: new ChangeContentOverlay(edits)
- });
+ List<SourceEdit> edits = '"'
+ .allMatches(goodText)
+ .map((Match match) => new SourceEdit(match.start, 0, '"'))
+ .toList();
+ sendAnalysisUpdateContent({pathname: new ChangeContentOverlay(edits)});
return analysisFinished;
}).then((_) {
// There should be no errors now, assuming that quotation marks have been

Powered by Google App Engine
This is Rietveld 408576698