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

Unified Diff: pkg/analysis_server/test/integration/analysis/update_content_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_test.dart
diff --git a/pkg/analysis_server/test/integration/analysis/update_content_test.dart b/pkg/analysis_server/test/integration/analysis/update_content_test.dart
index 169c42bd65ff557294bbeec74e4422d0d1c09867..b5a9b57242d36ea5f70f836ee46e9df5b36e24a0 100644
--- a/pkg/analysis_server/test/integration/analysis/update_content_test.dart
+++ b/pkg/analysis_server/test/integration/analysis/update_content_test.dart
@@ -28,9 +28,11 @@ main() {
return analysisFinished.then((_) {
// The contents on disk (badText) are missing a semicolon.
expect(currentAnalysisErrors[pathname], isNotEmpty);
- }).then((_) => sendAnalysisUpdateContent({
- pathname: new AddContentOverlay(goodText)
- })).then((result) => analysisFinished).then((_) {
+ })
+ .then((_) => sendAnalysisUpdateContent(
+ {pathname: new AddContentOverlay(goodText)}))
+ .then((result) => analysisFinished)
+ .then((_) {
// There should be no errors now because the contents on disk have been
// overriden with goodText.
expect(currentAnalysisErrors[pathname], isEmpty);
@@ -48,9 +50,7 @@ main() {
}).then((result) => analysisFinished).then((_) {
// There should be no errors now because we've added the semicolon back.
expect(currentAnalysisErrors[pathname], isEmpty);
- return sendAnalysisUpdateContent({
- pathname: new RemoveContentOverlay()
- });
+ return sendAnalysisUpdateContent({pathname: new RemoveContentOverlay()});
}).then((result) => analysisFinished).then((_) {
// Now there should be errors again, because the contents on disk are no
// longer overridden.

Powered by Google App Engine
This is Rietveld 408576698