Skip to content

Commit

Permalink
fix Scala 3 build
Browse files Browse the repository at this point in the history
  • Loading branch information
neko-kai committed Nov 25, 2024
1 parent 6172fe6 commit dd5e6a5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit dd5e6a5

Please sign in to comment.