Skip to content

Commit 2a511ea

Browse files
committed
Revive commented-out test
1 parent 0aef2d2 commit 2a511ea

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

language-server/test/dotty/tools/languageserver/SymbolTest.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ import dotty.tools.languageserver.util.Code._
77

88
class SymbolTest {
99

10-
// @Test def symbol0: Unit =
11-
// code"class ${m1}Foo$m2".withSource.symbol("Foo", ("Foo", "Class", m1 to m2))
10+
@Test def symbol0: Unit = {
11+
val Foo = (m1 to m2).withCode("Foo")
12+
withSources(code"class $Foo").symbol("Foo", Foo.range.symInfo("Foo", SymbolKind.Class))
13+
}
1214

1315
@Test def symbol1: Unit = {
1416
val Foo = (m1 to m2).withCode("Foo")

0 commit comments

Comments
 (0)