From dd5e6a51f45bbf47f779515335ff04427f4a12a2 Mon Sep 17 00:00:00 2001 From: Kai <450507+neko-kai@users.noreply.github.com> Date: Mon, 25 Nov 2024 19:23:25 +0000 Subject: [PATCH] fix Scala 3 build --- .../src/test/scala/izumi/distage/roles/test/RoleAppTest.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distage/distage-framework/.jvm/src/test/scala/izumi/distage/roles/test/RoleAppTest.scala b/distage/distage-framework/.jvm/src/test/scala/izumi/distage/roles/test/RoleAppTest.scala index 7365c732a9..f152f0b7e7 100644 --- a/distage/distage-framework/.jvm/src/test/scala/izumi/distage/roles/test/RoleAppTest.scala +++ b/distage/distage-framework/.jvm/src/test/scala/izumi/distage/roles/test/RoleAppTest.scala @@ -325,8 +325,8 @@ class RoleAppTest extends AnyWordSpec with WithProperties { assert(role0CfgMinParsed.hasPath("genericservice")) assert(role0CfgMinParsed.hasPath("testservice.mapList")) val l = role0CfgMinParsed.getList("testservice.mapList") - assert(l.get(0).asInstanceOf[ConfigObject].unwrapped().asScala.toMap == Map("a" -> 1)) - assert(l.get(1).asInstanceOf[ConfigObject].unwrapped().asScala.toMap == Map("b" -> 2, "c" -> 3)) + assert(l.get(0).asInstanceOf[ConfigObject].unwrapped().asScala.toMap == Map[String, Integer]("a" -> 1)) + assert(l.get(1).asInstanceOf[ConfigObject].unwrapped().asScala.toMap == Map[String, Integer]("b" -> 2, "c" -> 3)) assert(role0CfgMinParsed.hasPath("genericservice.genericField")) assert(role0CfgMinParsed.hasPath("genericservice.addedField"))