| Index: pkg/analysis_server/test/services/completion/dart/keyword_contributor_test.dart
|
| diff --git a/pkg/analysis_server/test/services/completion/dart/keyword_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/keyword_contributor_test.dart
|
| index f06faec56017adf1a4b707b2214274f3f09cf2e2..10eb19116588d4f6ad90be5b48a8f3c15e1a6a54 100644
|
| --- a/pkg/analysis_server/test/services/completion/dart/keyword_contributor_test.dart
|
| +++ b/pkg/analysis_server/test/services/completion/dart/keyword_contributor_test.dart
|
| @@ -865,6 +865,18 @@ class A {
|
| pseudoKeywords: ['await', 'yield', 'yield*']);
|
| }
|
|
|
| + test_if_condition_isKeyword() async {
|
| + addTestSource('main() { if (v i^) {} }');
|
| + await computeSuggestions();
|
| + assertSuggestKeywords([Keyword.IS], relevance: DART_RELEVANCE_HIGH);
|
| + }
|
| +
|
| + test_if_condition_isKeyword2() async {
|
| + addTestSource('main() { if (v i^ && false) {} }');
|
| + await computeSuggestions();
|
| + assertSuggestKeywords([Keyword.IS], relevance: DART_RELEVANCE_HIGH);
|
| + }
|
| +
|
| test_if_expression_in_class() async {
|
| addTestSource('class A {foo() {if (^) }}');
|
| await computeSuggestions();
|
|
|