1
mirror of https://github.com/revanced/revanced-patcher synced 2025-03-21 19:04:21 +01:00

Minor things

This commit is contained in:
Lucaskyy 2022-03-19 22:53:05 +01:00
parent e5f9a42ee6
commit fc64bbc32a
No known key found for this signature in database
GPG Key ID: 1530BFF96D1EEB89
2 changed files with 3 additions and 2 deletions
src
main/kotlin/net/revanced/patcher/writer
test/kotlin/net/revanced/patcher

@ -4,6 +4,6 @@ import org.objectweb.asm.tree.InsnList
object ASMWriter { object ASMWriter {
fun InsnList.testingWow() { fun InsnList.testingWow() {
TODO()
} }
} }

@ -32,7 +32,8 @@ internal class PatcherTest {
patcher.addPatches( patcher.addPatches(
Patch ("TestPatch") { Patch ("TestPatch") {
val main = patcher.cache.methods["mainMethod"] val main = patcher.cache.methods["mainMethod"]
//main.method.instructions!!.testingWow() val insn = main.method.instructions!!
PatchResultSuccess() PatchResultSuccess()
} }
) )