diff --git a/src/test/kotlin/app/revanced/patcher/patch/PatchOptionsTest.kt b/src/test/kotlin/app/revanced/patcher/patch/PatchOptionsTest.kt index c7d20399..d983abcc 100644 --- a/src/test/kotlin/app/revanced/patcher/patch/PatchOptionsTest.kt +++ b/src/test/kotlin/app/revanced/patcher/patch/PatchOptionsTest.kt @@ -3,6 +3,7 @@ package app.revanced.patcher.patch import app.revanced.patcher.usage.bytecode.ExampleBytecodePatch import org.junit.jupiter.api.Test import org.junit.jupiter.api.assertThrows +import java.io.File import kotlin.test.assertNotEquals internal class PatchOptionsTest { @@ -30,6 +31,9 @@ internal class PatchOptionsTest { println(choice) } } + is PatchOption.PathOption -> { + option.value = File("test.txt").toPath() + } } } val option = options["key1"]