Skip to content

Commit 6867428

Browse files
scheglovCommit Queue
authored andcommitted
Elements. Migrate CiderCompletionComputerTest.
Change-Id: I9401e2262caee9903c7473afcbb9f68c2f2b84ae Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/394324 Reviewed-by: Samuel Rawlins <[email protected]> Commit-Queue: Konstantin Shcheglov <[email protected]>
1 parent a43ee5d commit 6867428

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pkg/analysis_server/analyzer_use_new_elements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ test/services/refactoring/legacy/rename_library_test.dart
115115
test/services/search/element_visitors_test.dart
116116
test/services/search/hierarchy_test.dart
117117
test/services/search/search_engine_test.dart
118-
test/src/cider/completion_test.dart
119118
test/src/cider/rename_test.dart
120119
test/src/services/completion/dart/suggestion_builder_test.dart
121120
test/src/utilities/selection_coverage_test.dart

pkg/analysis_server/test/src/cider/completion_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ import 'a.dart';
788788
unit.accept(
789789
FunctionAstVisitor(
790790
simpleIdentifier: (node) {
791-
if (identifiers.contains(node.name) && node.staticElement != null) {
791+
if (identifiers.contains(node.name) && node.element != null) {
792792
fail('Unexpectedly resolved node: $node');
793793
}
794794
},

0 commit comments

Comments
 (0)