We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c3af12 commit d4276b2Copy full SHA for d4276b2
compiler/test/dotty/tools/repl/TabcompleteTests.scala
@@ -29,8 +29,12 @@ class TabcompleteTests extends ReplTest {
29
comp.suggestions.sorted == List("slice", "sliding"))
30
}
31
32
- @Test def classModuleHiding: Unit =
33
- fromInitialState{ implicit s => assert(tabComplete("scala.Predef").suggestions.isEmpty) }
+ @Test def tabCompleteModule: Unit =
+ fromInitialState{ implicit s =>
34
+ val comp = tabComplete("scala.Pred").suggestions
35
+ assertTrue(s""""Expected single element "Predef" got: ${comp}""",
36
+ comp == List("Predef"))
37
+ }
38
39
@Test def autoCompleteValAssign: Unit =
40
fromInitialState { implicit s => tabComplete("val x = 5") }
0 commit comments