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

Unified Diff: pkg/analysis_server/test/services/completion/completion_computer_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/services/completion/completion_computer_test.dart
diff --git a/pkg/analysis_server/test/services/completion/completion_computer_test.dart b/pkg/analysis_server/test/services/completion/completion_computer_test.dart
index 341b39730dac3deeea8ac488236ccfd6973e3ee5..6536782d9647fb9441ec18e4e384d688866d1569 100644
--- a/pkg/analysis_server/test/services/completion/completion_computer_test.dart
+++ b/pkg/analysis_server/test/services/completion/completion_computer_test.dart
@@ -54,8 +54,7 @@ class DartCompletionManagerTest extends AbstractSingleUnitTest {
void resolveLibrary() {
context.resolveCompilationUnit(
- source,
- context.computeLibraryElement(source));
+ source, context.computeLibraryElement(source));
}
@override
@@ -66,22 +65,10 @@ class DartCompletionManagerTest extends AbstractSingleUnitTest {
source = addSource('/does/not/exist.dart', '');
perf = new CompletionPerformance();
manager = new DartCompletionManager.create(context, searchEngine, source);
- suggestion1 = new CompletionSuggestion(
- CompletionSuggestionKind.INVOCATION,
- DART_RELEVANCE_DEFAULT,
- "suggestion1",
- 1,
- 1,
- false,
- false);
- suggestion2 = new CompletionSuggestion(
- CompletionSuggestionKind.IDENTIFIER,
- DART_RELEVANCE_DEFAULT,
- "suggestion2",
- 2,
- 2,
- false,
- false);
+ suggestion1 = new CompletionSuggestion(CompletionSuggestionKind.INVOCATION,
+ DART_RELEVANCE_DEFAULT, "suggestion1", 1, 1, false, false);
+ suggestion2 = new CompletionSuggestion(CompletionSuggestionKind.IDENTIFIER,
+ DART_RELEVANCE_DEFAULT, "suggestion2", 2, 2, false, false);
new Future(_performAnalysis);
}

Powered by Google App Engine
This is Rietveld 408576698