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

Unified Diff: pkg/analysis_server/test/services/completion/prefixed_element_contributor_test.dart

Issue 1260593005: update suggestion element return type to have type param (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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/prefixed_element_contributor_test.dart
diff --git a/pkg/analysis_server/test/services/completion/prefixed_element_contributor_test.dart b/pkg/analysis_server/test/services/completion/prefixed_element_contributor_test.dart
index eb6826ee0475e46ead9a9eb4425604fb078bd994..777886933a482887e1b6d6dea0e20420dff5f430 100644
--- a/pkg/analysis_server/test/services/completion/prefixed_element_contributor_test.dart
+++ b/pkg/analysis_server/test/services/completion/prefixed_element_contributor_test.dart
@@ -238,7 +238,7 @@ void f(C<int> c) {
addTestSource('import "dart:async" deferred as bar; foo() {bar.^}');
return computeFull((bool result) {
assertSuggestClass('Future');
- assertSuggestFunction('loadLibrary', 'void');
+ assertSuggestFunction('loadLibrary', 'Future<dynamic>');
});
}

Powered by Google App Engine
This is Rietveld 408576698