NeoTerm_System/app/src/test/java/io/neoterm/SourceUrlTest.kt
2017-08-14 10:59:46 +08:00

15 lines
284 B
Kotlin

package io.neoterm
import io.neoterm.component.pm.SourceUtils
import org.junit.Test
/**
* @author kiva
*/
class SourceUrlTest {
@Test
fun testSourceUrl() {
val url = "http://7sp0th.iok.la:81/neoterm"
println(SourceUtils.detectSourceFilePrefix(url))
}
}