mirror of
https://github.com/ReVanced/revanced-library.git
synced 2026-01-11 13:56:17 +00:00
chore: Fix builds
This commit is contained in:
@@ -170,14 +170,6 @@ internal object PatchUtilsTest {
|
|||||||
patches: PatchSet,
|
patches: PatchSet,
|
||||||
compatiblePackageName: String,
|
compatiblePackageName: String,
|
||||||
) {
|
) {
|
||||||
// Test both the deprecated and the new method.
|
|
||||||
|
|
||||||
@Suppress("DEPRECATION")
|
|
||||||
assertEquals(
|
|
||||||
expected,
|
|
||||||
PatchUtils.getMostCommonCompatibleVersion(patches, compatiblePackageName),
|
|
||||||
)
|
|
||||||
|
|
||||||
assertEquals(
|
assertEquals(
|
||||||
expected,
|
expected,
|
||||||
PatchUtils.getMostCommonCompatibleVersions(patches, setOf(compatiblePackageName))
|
PatchUtils.getMostCommonCompatibleVersions(patches, setOf(compatiblePackageName))
|
||||||
|
|||||||
Reference in New Issue
Block a user