mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2024-11-10 01:02:22 +01:00
fix: avoid ignoring test resources (fixes #1)
This commit is contained in:
parent
ded2538605
commit
d5a3c76389
3 changed files with 16 additions and 0 deletions
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…
Reference in a new issue