mirror of
https://github.com/revanced/revanced-patcher.git
synced 2025-05-02 05:54:26 +02:00
refactor: remove unnecessary test
This commit is contained in:
parent
6c5de8b414
commit
c2a5a55e67
@ -1,19 +0,0 @@
|
|||||||
package app.revanced.patcher.util
|
|
||||||
|
|
||||||
import org.junit.jupiter.api.Assertions.*
|
|
||||||
import org.junit.jupiter.api.Test
|
|
||||||
|
|
||||||
internal class VersionReaderTest {
|
|
||||||
@Test
|
|
||||||
fun read() {
|
|
||||||
val version = VersionReader.read()
|
|
||||||
assertNotNull(version)
|
|
||||||
assertTrue(version.isNotEmpty())
|
|
||||||
val parts = version.split(".")
|
|
||||||
assertEquals(3, parts.size)
|
|
||||||
parts.forEach {
|
|
||||||
assertTrue(it.toInt() >= 0)
|
|
||||||
}
|
|
||||||
println(version)
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user