Skip to content

Commit

Permalink
chore: Fix CI after changes in dotty
Browse files Browse the repository at this point in the history
  • Loading branch information
jkciesluk committed Feb 13, 2024
1 parent 50c9e63 commit fc87799
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
8 changes: 4 additions & 4 deletions tests/cross/src/test/scala/tests/pc/CompletionDocSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ class CompletionDocSuite extends BaseCompletionSuite {
compat = Map(
"2.13" -> vectorDocs213,
"3" -> vectorDocs213,
">=3.4.1-RC1-bin-20240201-hash-NIGHTLY" ->
">=3.4.1-RC1-bin-20240208-hash-NIGHTLY" ->
(vectorDocs213 +
"""|> Creates a collection with the specified elements.
|
Expand All @@ -677,7 +677,7 @@ class CompletionDocSuite extends BaseCompletionSuite {
|- `elems`: the elements of the created collection
|
|**Returns:** a new collection with elements `elems`
|Vector[A](elems: A*): CC[A]
|Vector[A](elems: A*): Vector[A]
|
|""".stripMargin)
)
Expand Down Expand Up @@ -880,9 +880,9 @@ class CompletionDocSuite extends BaseCompletionSuite {
"""|myNumbers: Vector[Int]
|""".stripMargin,
compat = Map(
">=3.4.1-RC1-bin-20240201-hash-NIGHTLY" ->
">=3.4.1-RC1-bin-20240208-hash-NIGHTLY" ->
"""|myNumbers: Vector[Int]
|myNumbers(i: Int): A
|myNumbers(i: Int): Int
|""".stripMargin
)
)
Expand Down
10 changes: 7 additions & 3 deletions tests/cross/src/test/scala/tests/pc/CompletionSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ class CompletionSuite extends BaseCompletionSuite {
|List - scala.collection.immutable
|List[A](elems: A*): CC[A]
|""".stripMargin,
">=3.4.1-RC1-bin-20240201-hash-NIGHTLY" ->
">=3.4.1-RC1-bin-20240208-hash-NIGHTLY" ->
"""|List scala.collection.immutable
|List[A](elems: A*): CC[A]
|List[A](elems: A*): List[A]
|List - java.awt
|List - java.util
|ListMap[K, V](elems: (K, V)*): CC[K, V]
|ListMap[K, V](elems: (K, V)*): ListMap[K, V]
|""".stripMargin
),
topLines = Some(5)
Expand Down Expand Up @@ -464,6 +464,10 @@ class CompletionSuite extends BaseCompletionSuite {
"3" ->
"""|TrieMap scala.collection.concurrent
|TrieMap[K, V](elems: (K, V)*): CC[K, V]
|""".stripMargin,
">=3.4.1-RC1-bin-20240208-hash-NIGHTLY" ->
"""|TrieMap scala.collection.concurrent
|TrieMap[K, V](elems: (K, V)*): TrieMap[K, V]
|""".stripMargin
)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -953,10 +953,10 @@ class CompletionWorkspaceSuite extends BaseCompletionSuite {
"2" -> """|fooBar: String
|fooBar - case_class_param.A: List[Int]
|""".stripMargin,
">=3.4.1-RC1-bin-20240201-hash-NIGHTLY" ->
">=3.4.1-RC1-bin-20240208-hash-NIGHTLY" ->
"""|fooBar: String
|fooBar: List[Int]
|fooBar(n: Int): A
|fooBar(n: Int): Int
|""".stripMargin
)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ class ShadowingCompletionSuite extends BaseCompletionSuite {
|""".stripMargin,
compat = Map(
"2" -> "ListBuffer - scala.collection.mutable",
">=3.4.1-RC1-bin-20240201-hash-NIGHTLY" ->
"""|ListBuffer[A](elems: A*): CC[A]
">=3.4.1-RC1-bin-20240208-hash-NIGHTLY" ->
"""|ListBuffer[A](elems: A*): ListBuffer[A]
|ListBuffer - scala.collection.mutable
|""".stripMargin
)
Expand Down

0 comments on commit fc87799

Please sign in to comment.