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

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

Issue 1522003003: suppress all dart contributor suggestions in comments (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: merge Created 5 years 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
« no previous file with comments | « pkg/analysis_server/test/domain_completion_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1d3549d21ae4a642082b4d97846b695e30f4d420..167e3abf236632b5b03f85caa47c86778938b844 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
@@ -1114,27 +1114,6 @@ class A {
relevance: DART_RELEVANCE_HIGH);
}
- test_inComment_block() async {
- addTestSource('''
-main() {
- /* text ^ */
- print(42);
-}
-''');
- await computeSuggestions();
- expect(suggestions, isEmpty);
- }
-
- test_inComment_endOfLine() async {
- addTestSource('''
-main() {
- // text ^
-}
-''');
- await computeSuggestions();
- expect(suggestions, isEmpty);
- }
-
test_is_expression() async {
addTestSource('main() {if (x is^)}');
await computeSuggestions();
« no previous file with comments | « pkg/analysis_server/test/domain_completion_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698