Skip to content

Commit a40241b

Browse files
committed
ZITIS-845 remove unusued code
1 parent 415358c commit a40241b

File tree

1 file changed

+0
-8
lines changed
  • kotlin-jira-client/kotlin-jira-client-test-base/src/main/kotlin/com/linkedplanet/kotlinjiraclient/util

1 file changed

+0
-8
lines changed

kotlin-jira-client/kotlin-jira-client-test-base/src/main/kotlin/com/linkedplanet/kotlinjiraclient/util/AssertionExtensions.kt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,9 @@
2020
package com.linkedplanet.kotlinjiraclient.util
2121

2222
import arrow.core.Either
23-
import com.linkedplanet.kotlinhttpclient.error.DomainError
2423
import com.linkedplanet.kotlinjiraclient.api.error.JiraClientError
2524
import org.junit.Assert.fail
2625

27-
internal fun <R> Either<DomainError, R?>.rightAsserted(): R {
28-
this.mapLeft {
29-
fail("Unexpected DomainError: ${it.error} - ${it.message}")
30-
}
31-
return this.orNull()!!
32-
}
33-
3426

3527
internal fun <R> Either<JiraClientError, R?>.rightAssertedJiraClientError(): R {
3628
this.mapLeft {

0 commit comments

Comments
 (0)