mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-16 02:48:08 -04:00
#2348 made test cleaner
This commit is contained in:
parent
14b7ccf9d5
commit
b2dc82fe8f
@ -44,14 +44,8 @@ internal class ServerUtilsTest {
|
||||
@Test
|
||||
internal fun `formatIpForAndroidPie should return full ip on given ip`() {
|
||||
assertThat(
|
||||
ServerUtils.formatIpForAndroidPie(
|
||||
"""
|
||||
192.168.232.2
|
||||
""".trimIndent()
|
||||
)
|
||||
).isEqualTo(
|
||||
"192.168.232.2"
|
||||
)
|
||||
ServerUtils.formatIpForAndroidPie("192.168.232.2")
|
||||
).isEqualTo("192.168.232.2")
|
||||
}
|
||||
|
||||
@Test(expected = IllegalArgumentException::class)
|
||||
|
Loading…
x
Reference in New Issue
Block a user