Fix ResolutionSpec

This commit is contained in:
Adrien Piquerez 2024-10-08 15:25:50 +02:00
parent 9c421a3122
commit b6a9ed02db
1 changed files with 1 additions and 1 deletions

View File

@ -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