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

Unified Diff: pkg/analysis_server/test/domain_completion_test.dart

Issue 2913903002: Modify autocompletion test case to work with new feature added (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/domain_completion_test.dart
diff --git a/pkg/analysis_server/test/domain_completion_test.dart b/pkg/analysis_server/test/domain_completion_test.dart
index f8e971cc92acc9fe1977f35a835f8a81d0951b64..d69cab30e9704a6691ceefa06bd896536cbf2895 100644
--- a/pkg/analysis_server/test/domain_completion_test.dart
+++ b/pkg/analysis_server/test/domain_completion_test.dart
@@ -705,7 +705,8 @@ class B extends A {m() {^}}
''');
PluginInfo info = new DiscoveredPluginInfo('a', 'b', 'c', null, null);
plugin.CompletionGetSuggestionsResult result =
- new plugin.CompletionGetSuggestionsResult(1, 2, <CompletionSuggestion>[
+ new plugin.CompletionGetSuggestionsResult(
+ testFile.indexOf('^'), 0, <CompletionSuggestion>[
new CompletionSuggestion(CompletionSuggestionKind.IDENTIFIER,
DART_RELEVANCE_DEFAULT, 'plugin completion', 3, 0, false, false)
]);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698