mirror of
https://github.com/owncloud/android-library.git
synced 2026-08-12 00:42:58 +00:00
pleasure the linter
This commit is contained in:
committed by
Abel García de Prada
parent
270e127940
commit
dac7bcc0e7
@@ -33,7 +33,7 @@ class StatusRequestorTest {
|
||||
|
||||
@Test
|
||||
fun `update location with an absolute path`() {
|
||||
val newLocation = requestor.updateLocationWithRedirectPath(TEST_DOMAIN, "$TEST_DOMAIN/subdir")
|
||||
val newLocation = requestor.updateLocationWithRedirectPath(TEST_DOMAIN, "$TEST_DOMAIN$SUB_PATH")
|
||||
assertEquals("$TEST_DOMAIN$SUB_PATH", newLocation)
|
||||
}
|
||||
|
||||
@@ -46,9 +46,7 @@ class StatusRequestorTest {
|
||||
|
||||
@Test
|
||||
fun `update location with a relative path`() {
|
||||
val newLocation = requestor.updateLocationWithRedirectPath(
|
||||
TEST_DOMAIN, SUB_PATH
|
||||
)
|
||||
val newLocation = requestor.updateLocationWithRedirectPath(TEST_DOMAIN, SUB_PATH)
|
||||
assertEquals("$TEST_DOMAIN$SUB_PATH", newLocation)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user