Skip to content

Commit

Permalink
chore: adjust completions tests for value forwarders
Browse files Browse the repository at this point in the history
  • Loading branch information
jkciesluk committed Dec 5, 2023
1 parent 1870e89 commit 4722fbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 25 deletions.
4 changes: 1 addition & 3 deletions tests/cross/src/test/scala/tests/pc/CompletionDocSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -660,9 +660,7 @@ class CompletionDocSuite extends BaseCompletionSuite {
includeDocs = true,
compat = Map(
"2.13" -> vectorDocs213,
"3" -> vectorDocs213,
// TODO https://github.com/scalameta/metals/issues/5885
">=3.4.0-RC1-bin-20231127-41e7d95-NIGHTLY" -> "Vector: scala.collection.immutable"
"3" -> vectorDocs213
)
)

Expand Down
23 changes: 1 addition & 22 deletions tests/cross/src/test/scala/tests/pc/CompletionSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,6 @@ class CompletionSuite extends BaseCompletionSuite {
|""".stripMargin,
"3" ->
"""|List scala.collection.immutable
|List - java.awt
|List - java.util
|List - scala.collection.immutable
|List[A](elems: A*): CC[A]
|""".stripMargin,
// TODO https://github.com/scalameta/metals/issues/5885
">=3.4.0-RC1-bin-20231127-41e7d95-NIGHTLY" ->
"""|List: scala.collection.immutable
|List - java.awt
|List - java.util
|List - scala.collection.immutable
Expand Down Expand Up @@ -1073,14 +1065,7 @@ class CompletionSuite extends BaseCompletionSuite {
"""|None scala
|NoManifest scala.reflect
|""".stripMargin,
topLines = Some(2),
compat = Map(
// TODO https://github.com/scalameta/metals/issues/5885
">=3.4.0-RC1-bin-20231127-41e7d95-NIGHTLY" ->
"""|None scala
|NoManifest: scala.reflect
|""".stripMargin
)
topLines = Some(2)
)

check(
Expand Down Expand Up @@ -1110,12 +1095,6 @@ class CompletionSuite extends BaseCompletionSuite {
"""|Some(value) scala
|Seq scala.collection.immutable
|Set scala.collection.immutable
|""".stripMargin,
// TODO https://github.com/scalameta/metals/issues/5885
">=3.4.0-RC1-bin-20231127-41e7d95-NIGHTLY" ->
"""|Some(value) scala
|Seq: scala.collection.immutable
|Set: scala.collection.immutable
|""".stripMargin
)
)
Expand Down

0 comments on commit 4722fbf

Please sign in to comment.