Skip to content

Commit 6f1bd6a

Browse files
pqCommit Queue
authored andcommitted
[element model] migrate resolve_for_completion_test
Change-Id: If66ff0130a8c1015ccf46b287bed2dbbf8a9ca73 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/399782 Auto-Submit: Phil Quitslund <[email protected]> Reviewed-by: Brian Wilkerson <[email protected]> Commit-Queue: Phil Quitslund <[email protected]>
1 parent f11466b commit 6f1bd6a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pkg/analyzer/analyzer_use_new_elements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ test/id_tests/type_constraint_generation_test.dart
179179
test/src/dart/analysis/driver_caching_test.dart
180180
test/src/dart/analysis/driver_test.dart
181181
test/src/dart/analysis/index_test.dart
182-
test/src/dart/analysis/resolve_for_completion_test.dart
183182
test/src/dart/analysis/result_printer.dart
184183
test/src/dart/analysis/results/get_element_declaration_test.dart
185184
test/src/dart/analysis/search_test.dart

pkg/analyzer/test/src/dart/analysis/resolve_for_completion_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ typedef F^
347347
extension ResolvedForCompletionResultImplExtension
348348
on ResolvedForCompletionResultImpl {
349349
void assertResolvedNodes(List<String> expected) {
350-
expect(parsedUnit.declaredElement, isNotNull);
350+
expect(parsedUnit.declaredFragment?.element, isNotNull);
351351

352352
var actual = resolvedNodes.map((e) => '$e').toList();
353353
expect(actual, expected);

0 commit comments

Comments
 (0)