diff --git a/lm-coursier/src/test/scala/lmcoursier/internal/ResolutionRunSpec.scala b/lm-coursier/src/test/scala/lmcoursier/internal/ResolutionRunSpec.scala index 9b00657b3..a3ad3f4e0 100644 --- a/lm-coursier/src/test/scala/lmcoursier/internal/ResolutionRunSpec.scala +++ b/lm-coursier/src/test/scala/lmcoursier/internal/ResolutionRunSpec.scala @@ -2,6 +2,7 @@ package lmcoursier.internal import coursier.core.{ Module, ModuleName, Organization, Resolution } import coursier.error.ResolutionError.CantDownloadModule +import coursier.version.VersionConstraint import org.scalatest.funsuite.AnyFunSuite import org.scalatest.matchers.should.Matchers @@ -11,7 +12,7 @@ class ResolutionRunSpec extends AnyFunSuite with Matchers: new CantDownloadModule( Resolution(), Module(Organization("org"), ModuleName("mod"), Map.empty), - "1.0", + VersionConstraint("1.0"), errors.toSeq )