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 8, 2023
1 parent 1b012d5 commit 7f63e6c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 26 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
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ class SignatureHelpPatternSuite extends BaseSignatureHelpSuite {
compat = Map(
">=2.13.0" -> """|map[B](f: ((Int, Int)) => B): List[B]
| ^^^^^^^^^^^^^^^^^^^^
|""".stripMargin
|""".stripMargin,
">=3.4.0-RC1-bin-20231206-86565a4-NIGHTLY" ->
"""|(Int, Int)
| ^^^
|""".stripMargin
)
)

Expand Down

0 comments on commit 7f63e6c

Please sign in to comment.