Skip to content

Commit fc4d470

Browse files
committed
fix: Fix failing test
1 parent 1c2ef79 commit fc4d470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/kotlin/com/haroldadmin/cnradapter/ErrorExtractionTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ internal class ErrorExtractionTest: AnnotationSpec() {
2222
val serverResponse = "Server Error".toResponseBody()
2323
val response = Response.error<String>(404, serverResponse)
2424
val exception = HttpException(response)
25-
with(exception.extractFromHttpException<String, String>(errorConverter)) {
25+
with(exception.extractFromHttpException<String>(errorConverter)) {
2626

2727
shouldBeTypeOf<NetworkResponse.ServerError<String>>()
2828
this as NetworkResponse.ServerError

0 commit comments

Comments
 (0)