We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c2ef79 commit fc4d470Copy full SHA for fc4d470
src/test/kotlin/com/haroldadmin/cnradapter/ErrorExtractionTest.kt
@@ -22,7 +22,7 @@ internal class ErrorExtractionTest: AnnotationSpec() {
22
val serverResponse = "Server Error".toResponseBody()
23
val response = Response.error<String>(404, serverResponse)
24
val exception = HttpException(response)
25
- with(exception.extractFromHttpException<String, String>(errorConverter)) {
+ with(exception.extractFromHttpException<String>(errorConverter)) {
26
27
shouldBeTypeOf<NetworkResponse.ServerError<String>>()
28
this as NetworkResponse.ServerError
0 commit comments