fix: avoid ignoring test resources (fixes #1)

This commit is contained in:
Lucaskyy 2022-03-20 15:54:41 +01:00
parent ded2538605
commit d5a3c76389
No known key found for this signature in database
GPG Key ID: 1530BFF96D1EEB89
3 changed files with 16 additions and 0 deletions

2
.gitignore vendored
View File

@ -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/*

View 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 {
}
}

Binary file not shown.