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

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

Issue 2771123002: Arglist `children:` default value gen fixes. (Closed)
Patch Set: Remove unneeded assignment. Created 3 years, 9 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/dart/arglist_contributor_test.dart
diff --git a/pkg/analysis_server/test/services/completion/dart/arglist_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/arglist_contributor_test.dart
index 9e856143edd4c3e9b5c5eafd06863f3334b79f61..b06ac9ef0288a3d427f1e4ff46d8072c5cf7feb4 100644
--- a/pkg/analysis_server/test/services/completion/dart/arglist_contributor_test.dart
+++ b/pkg/analysis_server/test/services/completion/dart/arglist_contributor_test.dart
@@ -743,7 +743,8 @@ build() => new Container(
assertSuggest('children: ',
csKind: CompletionSuggestionKind.NAMED_ARGUMENT,
relevance: DART_RELEVANCE_NAMED_PARAMETER,
- defaultArgListString: '<Widget>[]');
+ defaultArgListString: 'children: <Widget>[]',
+ defaultArgumentListTextRanges: [10, 10]);
}
test_ArgumentList_Flutter_InstanceCreationExpression_children_dynamic() async {
@@ -767,7 +768,7 @@ build() => new Container(
assertSuggest('children: ',
csKind: CompletionSuggestionKind.NAMED_ARGUMENT,
relevance: DART_RELEVANCE_NAMED_PARAMETER,
- defaultArgListString: '[]');
+ defaultArgListString: 'children: []');
}
test_ArgumentList_Flutter_InstanceCreationExpression_children_Map() async {

Powered by Google App Engine
This is Rietveld 408576698