File tree 2 files changed +8
-17
lines changed
compiler/test/dotty/tools/dotc/interactive
language-server/test/dotty/tools/languageserver 2 files changed +8
-17
lines changed Original file line number Diff line number Diff line change @@ -170,20 +170,3 @@ class CustomCompletionTests extends DottyTest:
170
170
assert(offset == prefix.length)
171
171
assert(labels.contains(" scala.Function2" ))
172
172
173
- @ Test def i12465_hkt (): Unit =
174
- val prefix = " ???.asInstanceOf[scala.collection.Seq]"
175
- val input = prefix + " ."
176
-
177
- val (offset, completions0) = completions(input)
178
- val labels = completions0.map(_.label)
179
-
180
- assert(labels.isEmpty)
181
-
182
- @ Test def i12465_hkt_alias (): Unit =
183
- val prefix = " ???.asInstanceOf[Seq]"
184
- val input = prefix + " ."
185
-
186
- val (offset, completions0) = completions(input)
187
- val labels = completions0.map(_.label)
188
-
189
- assert(labels.isEmpty)
Original file line number Diff line number Diff line change @@ -887,4 +887,12 @@ class CompletionTest {
887
887
)
888
888
)
889
889
}
890
+
891
+ @ Test def i12465_hkt : Unit =
892
+ code """ ???.asInstanceOf[scala.collection.Seq]. ${m1}""" .withSource
893
+ .completion(m1, Set ())
894
+
895
+ @ Test def i12465_hkt_alias : Unit =
896
+ code """ ???.asInstanceOf[Seq]. ${m1}""" .withSource
897
+ .completion(m1, Set ())
890
898
}
You can’t perform that action at this time.
0 commit comments