Skip to content

Commit 39653ac

Browse files
authored
Tweak doesNotContainEntries for canAddExtraFilesIntoShadowJar (#1301)
1 parent 347c254 commit 39653ac

File tree

1 file changed

+5
-1
lines changed
  • src/functionalTest/kotlin/com/github/jengelman/gradle/plugins/shadow

1 file changed

+5
-1
lines changed

src/functionalTest/kotlin/com/github/jengelman/gradle/plugins/shadow/JavaPluginTest.kt

+5-1
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,11 @@ class JavaPluginTest : BasePluginTest() {
683683
"META-INF/a-1.0.jar",
684684
"Bar/Foo",
685685
)
686-
doesNotContainEntries(*entriesInA)
686+
doesNotContainEntries(
687+
*entriesInA,
688+
"Foo",
689+
"Foo/",
690+
)
687691
getContent("Bar/Foo").isEqualTo("Foo")
688692
}
689693
val unzipped = path("unzipped")

0 commit comments

Comments
 (0)