Skip to content

Commit

Permalink
chore: move mill test to newest mill version
Browse files Browse the repository at this point in the history
  • Loading branch information
kasiaMarek committed Jul 2, 2024
1 parent 260a8dd commit 4305d60
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/slow/src/test/scala/tests/mill/MillLspSuite.scala
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,6 @@ class MillLspSuite extends BaseImportSuite("mill-import") {
| def scalaVersion = "${V.scala213}"
| def scalacOptions = Seq("-Xfatal-warnings", "-Ywarn-unused")
|}
|/.mill-version
|${V.millVersion}
|/foo/src/Warning.scala
|import scala.concurrent.Future // unused
|object Warning
Expand All @@ -164,7 +162,11 @@ class MillLspSuite extends BaseImportSuite("mill-import") {
// we should still have references despite fatal warning
refs <- server.workspaceReferences()
_ = assertNoDiff(
refs.references.map(_.symbol).sorted.mkString("\n"),
refs.references
.withFilter(_.location.getUri().endsWith("Warning.scala"))
.map(_.symbol)
.sorted
.mkString("\n"),
"""|_empty_/A.
|_empty_/A.B.
|_empty_/Warning.
Expand Down

0 comments on commit 4305d60

Please sign in to comment.