mirror of https://github.com/sbt/sbt.git
Fix ResolutionSpec
This commit is contained in:
parent
9c421a3122
commit
b6a9ed02db
|
|
@ -243,7 +243,7 @@ final class ResolutionSpec extends AnyPropSpec with Matchers {
|
|||
val resolution =
|
||||
lmEngine.update(coursierModule, UpdateConfiguration(), UnresolvedWarningConfiguration(), log)
|
||||
|
||||
resolution should be('right)
|
||||
assert(resolution.isRight)
|
||||
val componentConfig = resolution.right.get.configurations.find(_.configuration == Compile.toConfigRef).get
|
||||
val compress = componentConfig.modules.find(_.module.name == "commons-compress").get
|
||||
compress.licenses should have size 1
|
||||
|
|
|
|||
Loading…
Reference in New Issue