mirror of https://github.com/sbt/sbt.git
[2.x] fix: use new constructor for CantDownloadModule (#8905)
This commit is contained in:
parent
866497c6e9
commit
3f9bafc153
|
|
@ -2,6 +2,7 @@ package lmcoursier.internal
|
||||||
|
|
||||||
import coursier.core.{ Module, ModuleName, Organization, Resolution }
|
import coursier.core.{ Module, ModuleName, Organization, Resolution }
|
||||||
import coursier.error.ResolutionError.CantDownloadModule
|
import coursier.error.ResolutionError.CantDownloadModule
|
||||||
|
import coursier.version.VersionConstraint
|
||||||
import org.scalatest.funsuite.AnyFunSuite
|
import org.scalatest.funsuite.AnyFunSuite
|
||||||
import org.scalatest.matchers.should.Matchers
|
import org.scalatest.matchers.should.Matchers
|
||||||
|
|
||||||
|
|
@ -11,7 +12,7 @@ class ResolutionRunSpec extends AnyFunSuite with Matchers:
|
||||||
new CantDownloadModule(
|
new CantDownloadModule(
|
||||||
Resolution(),
|
Resolution(),
|
||||||
Module(Organization("org"), ModuleName("mod"), Map.empty),
|
Module(Organization("org"), ModuleName("mod"), Map.empty),
|
||||||
"1.0",
|
VersionConstraint("1.0"),
|
||||||
errors.toSeq
|
errors.toSeq
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue