diff --git a/src/main/kotlin/net/revanced/patcher/writer/ASMWriter.kt b/src/main/kotlin/net/revanced/patcher/writer/ASMWriter.kt index 77d44b8..1d4675c 100644 --- a/src/main/kotlin/net/revanced/patcher/writer/ASMWriter.kt +++ b/src/main/kotlin/net/revanced/patcher/writer/ASMWriter.kt @@ -4,6 +4,6 @@ import org.objectweb.asm.tree.InsnList object ASMWriter { fun InsnList.testingWow() { - TODO() + } } \ No newline at end of file diff --git a/src/test/kotlin/net/revanced/patcher/PatcherTest.kt b/src/test/kotlin/net/revanced/patcher/PatcherTest.kt index 29f1e3d..a5fb962 100644 --- a/src/test/kotlin/net/revanced/patcher/PatcherTest.kt +++ b/src/test/kotlin/net/revanced/patcher/PatcherTest.kt @@ -32,7 +32,8 @@ internal class PatcherTest { patcher.addPatches( Patch ("TestPatch") { val main = patcher.cache.methods["mainMethod"] - //main.method.instructions!!.testingWow() + val insn = main.method.instructions!! + PatchResultSuccess() } )