From b6a9ed02db4b0567f9dbc53d59980106ac772bde Mon Sep 17 00:00:00 2001 From: Adrien Piquerez Date: Tue, 8 Oct 2024 15:25:50 +0200 Subject: [PATCH] Fix ResolutionSpec --- .../lm-coursier/src/test/scala/lmcoursier/ResolutionSpec.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lm-coursier/src/test/scala/lmcoursier/ResolutionSpec.scala b/modules/lm-coursier/src/test/scala/lmcoursier/ResolutionSpec.scala index 9a161df77..bad447013 100644 --- a/modules/lm-coursier/src/test/scala/lmcoursier/ResolutionSpec.scala +++ b/modules/lm-coursier/src/test/scala/lmcoursier/ResolutionSpec.scala @@ -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