diff --git a/src/test/java/rife/bld/extension/dokka/DokkaOperationTest.java b/src/test/java/rife/bld/extension/dokka/DokkaOperationTest.java index 09c0b18..e52c9b8 100644 --- a/src/test/java/rife/bld/extension/dokka/DokkaOperationTest.java +++ b/src/test/java/rife/bld/extension/dokka/DokkaOperationTest.java @@ -20,6 +20,7 @@ import rife.bld.blueprints.BaseProjectBlueprint; import java.io.File; +import java.util.Arrays; import java.util.List; import java.util.Map; import java.util.stream.IntStream; @@ -81,6 +82,13 @@ void executeConstructProcessCommandListTest() { assertThat(args).hasSize(matches.size()); - IntStream.range(0, args.size()).forEach(i -> assertThat(args.get(i)).isEqualTo(matches.get(i))); + IntStream.range(0, args.size()).forEach(i -> { + if (args.get(1).contains(".jar;")) { + var jars = args.get(1).split(";"); + Arrays.stream(jars).forEach(jar -> assertThat(matches.get(i)).contains(jar)); + } else{ + assertThat(args.get(i)).isEqualTo(matches.get(i)); + } + }); } }