mirror of
https://github.com/revanced/revanced-patcher
synced 2025-02-17 22:21:25 +01:00
fix: avoid ignoring test resources (fixes #1)
This commit is contained in:
parent
ded2538605
commit
d5a3c76389
2
.gitignore
vendored
2
.gitignore
vendored
@ -113,3 +113,5 @@ gradle-app.setting
|
||||
# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
|
||||
# gradle/wrapper/gradle-wrapper.properties
|
||||
|
||||
# Avoid ignoring test resources
|
||||
!src/test/resources/*
|
||||
|
14
src/test/kotlin/net/revanced/patcher/util/TestUtil.kt
Normal file
14
src/test/kotlin/net/revanced/patcher/util/TestUtil.kt
Normal file
@ -0,0 +1,14 @@
|
||||
package net.revanced.patcher.util
|
||||
|
||||
import org.objectweb.asm.tree.AbstractInsnNode
|
||||
import kotlin.test.assertTrue
|
||||
|
||||
object TestUtil {
|
||||
fun <T: AbstractInsnNode> assertNodeEqual(a: T, b: T) {
|
||||
assertTrue()
|
||||
}
|
||||
|
||||
private fun AbstractInsnNode.nodeString(): String {
|
||||
|
||||
}
|
||||
}
|
BIN
src/test/resources/test1.jar
Normal file
BIN
src/test/resources/test1.jar
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user