Skip to content

Commit

Permalink
wip: add test to CompletionLspSuite
Browse files Browse the repository at this point in the history
  • Loading branch information
brndt committed Aug 8, 2024
1 parent b80bfbe commit 4441d00
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/unit/src/test/scala/tests/CompletionLspSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ class CompletionLspSuite extends BaseCompletionLspSuite("completion") {
|{
| "b": {},
| "c": {},
| "a": { "dependsOn": ["c"] }
| "a": { "dependsOn": ["c"] },
| "d": { "dependsOn": ["c"] }
|}
|/b/src/main/scala/b/DefinedInB.scala
|package b
Expand All @@ -37,6 +38,11 @@ class CompletionLspSuite extends BaseCompletionLspSuite("completion") {
|object Outer {
| class DefinedInA
|}
|/a/src/main/scala/d/DefinedInD.scala
|package d
|package object Outer {
| class DefinedInD
|}
|/a/src/main/scala/a/A.scala
|package a
|object Main {
Expand All @@ -50,6 +56,7 @@ class CompletionLspSuite extends BaseCompletionLspSuite("completion") {
"DefinedIn@@",
"""|DefinedInA - a.Outer
|DefinedInC - c
|DefinedInD - d.Outer
|""".stripMargin,
)
} yield ()
Expand Down

0 comments on commit 4441d00

Please sign in to comment.