Skip to content

Commit

Permalink
Merge duplicate checks in RelocationTest (GradleUp#1128)
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler authored Jan 4, 2025
1 parent 516f405 commit 7500787
Showing 1 changed file with 6 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,12 @@ class RelocationTest : BasePluginTest() {
"b/TestResult.class",
"b/TestSuite\$1.class",
"b/TestSuite.class",
"junit/textui/TestRunner.class",
"junit/framework/Assert.class",
"junit/framework/AssertionFailedError.class",
"junit/framework/ComparisonCompactor.class",
"junit/framework/ComparisonFailure.class",
"junit/framework/Protectable.class",
),
)

Expand All @@ -166,18 +172,6 @@ class RelocationTest : BasePluginTest() {
"b/Protectable.class",
),
)

assertContains(
outputShadowJar,
listOf(
"junit/textui/TestRunner.class",
"junit/framework/Assert.class",
"junit/framework/AssertionFailedError.class",
"junit/framework/ComparisonCompactor.class",
"junit/framework/ComparisonFailure.class",
"junit/framework/Protectable.class",
),
)
}

@Issue(
Expand Down

0 comments on commit 7500787

Please sign in to comment.