Skip to content

Commit

Permalink
add nextScala3RC to quickPublishScalaVersions
Browse files Browse the repository at this point in the history
  • Loading branch information
jkciesluk authored and tgodzik committed Oct 24, 2022
1 parent fa1e9a8 commit 06fd2ff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions project/V.scala
Original file line number Diff line number Diff line change
Expand Up @@ -126,5 +126,6 @@ object V {
ammonite213Version,
scala3,
ammonite3Version,
nextScala3RC,
).toList
}
12 changes: 6 additions & 6 deletions tests/unit/src/main/scala/tests/BaseWorksheetLspSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -768,16 +768,16 @@ abstract class BaseWorksheetLspSuite(
| "scalaVersion": "${scalaVersion}"
| }
|}
|/Main.worksheet.sc
|/a/src/main/scala/foo/Main.worksheet.sc
|import $$ivy.`io.cir`
|import $$dep.`io.circe::circe-ref`
|import $$dep.`io.circe::circe-yaml:0.14`
|""".stripMargin
)
_ <- server.didOpen("Main.worksheet.sc")
_ <- server.didOpen("a/src/main/scala/foo/Main.worksheet.sc")
groupExpectedCompletionList = "io.circe"
groupCompletionList <- server.completion(
"Main.worksheet.sc",
"a/src/main/scala/foo/Main.worksheet.sc",
"import $ivy.`io.cir@@`",
)
_ = assertNoDiff(groupCompletionList, groupExpectedCompletionList)
Expand All @@ -797,14 +797,14 @@ abstract class BaseWorksheetLspSuite(
scalaVersion,
)
artefactCompletionList <- server.completion(
"Main.worksheet.sc",
"a/src/main/scala/foo/Main.worksheet.sc",
"import $dep.`io.circe::circe-ref@@`",
)
_ = assertNoDiff(artefactCompletionList, artefactExpectedCompletionList)

versionExpectedCompletionList = List("0.14.1", "0.14.0")
response <- server.completionList(
"Main.worksheet.sc",
"a/src/main/scala/foo/Main.worksheet.sc",
"import $dep.`io.circe::circe-yaml:0.14@@`",
)
versionCompletionList = response
Expand All @@ -814,7 +814,7 @@ abstract class BaseWorksheetLspSuite(
.toList
_ = assertEquals(versionCompletionList, versionExpectedCompletionList)
noCompletions <- server.completion(
"Main.worksheet.sc",
"a/src/main/scala/foo/Main.worksheet.sc",
"import $dep.`io.circe::circe-yaml:0.14`@@",
)
_ = assertNoDiff(noCompletions, "")
Expand Down

0 comments on commit 06fd2ff

Please sign in to comment.