Skip to content

Commit

Permalink
Update kotlinx.serialization to v1.6.1 (#1167)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Dec 2, 2023
1 parent 3f12b30 commit 842306b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ compileSdk = "34"
http4k = "4.48.0.0"
kotlin = "1.9.20"
kotlinx-coroutines = "1.7.3"
kotlinx-serialization = "1.6.0"
kotlinx-serialization = "1.6.2"
okHttp = "4.12.0"
okio = "3.6.0"
minSdk = "18"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,9 @@ class InterfaceSerializersTest {
"testing.app.cash.zipline.testing.callInterfaceRequest()",
)
}
assertThat(exception.message!!)
.contains("Class 'app.cash.zipline.testing.RealMessageInterface' is not registered")
assertThat(exception.message!!).contains(
"Serializer for subclass '${RealMessageInterface::class.qualifiedName}' is not found",
)
}

@Test fun jsToJvmInterfaceResponseFailsLate() = runTest(dispatcher) {
Expand All @@ -119,8 +120,9 @@ class InterfaceSerializersTest {
"testing.app.cash.zipline.testing.callInterfaceResponse()",
)
}
assertThat(exception.message!!)
.contains("Class 'RealMessageInterface' is not registered")
assertThat(exception.message!!).contains(
"Serializer for subclass '${RealMessageInterface::class.simpleName}' is not found",
)
}

private class JvmMessageInterfaceService : RequestInterfaceService, ResponseInterfaceService {
Expand Down

0 comments on commit 842306b

Please sign in to comment.