Skip to content

Commit

Permalink
fix: Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lolgab committed Jan 8, 2024
1 parent 49e2ee4 commit 0df564a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scalalib/test/src/mill/scalalib/HelloWorldTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,9 @@ object HelloWorldTests extends TestSuite {
CrossModuleDeps.cuttingEdge(scala33Version).moduleDeps
}
"scala-213-depend-on-scala-212-fails" - {
val message = intercept(CrossModuleDeps.cuttingEdge(scala213Version).moduleDeps).getMessage
val message = intercept[Exception](
CrossModuleDeps.cuttingEdge(scala213Version).moduleDeps
).getMessage
assert(message == "Unable to find compatible cross version between 2.13.8 and 2.12.6,3.2.0")
}

Expand Down

0 comments on commit 0df564a

Please sign in to comment.