Added update feature
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
package xyz.quaver.pupil
|
||||
|
||||
import org.junit.Test
|
||||
import xyz.quaver.pupil.util.checkUpdate
|
||||
|
||||
/**
|
||||
* Example local unit test, which will execute on the development machine (host).
|
||||
*
|
||||
@@ -8,4 +11,9 @@ package xyz.quaver.pupil
|
||||
|
||||
class ExampleUnitTest {
|
||||
|
||||
@Test
|
||||
fun test() {
|
||||
print(checkUpdate("https://api.github.com/repos/tom5079/Pupil-issue/releases", "0.0.1"))
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user