From bbdddae013e7e9fe279f22606a4895a18f74e25b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 16 Feb 2024 19:28:50 +0000 Subject: [PATCH 1/2] Update kotlinx.serialization to v1.6.3 --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 1eaf73db5d..317e6e88b0 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,7 +1,7 @@ [versions] kotlin = "1.9.22" kotlinx-coroutines = "1.8.0" -kotlinx-serialization = "1.6.2" +kotlinx-serialization = "1.6.3" androidx-activity = "1.8.2" androidx-compose-ui = "1.6.1" jbCompose = "1.5.12" From e263f254af00e1c06b18063612f4162fdbf0eb83 Mon Sep 17 00:00:00 2001 From: Jake Wharton Date: Fri, 16 Feb 2024 16:31:13 -0500 Subject: [PATCH 2/2] JSON formatting --- .../redwood/treehouse/StateSnapshotTest.kt | 24 +++++++------------ 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/redwood-treehouse/src/commonTest/kotlin/app/cash/redwood/treehouse/StateSnapshotTest.kt b/redwood-treehouse/src/commonTest/kotlin/app/cash/redwood/treehouse/StateSnapshotTest.kt index 60dc32712d..bcea048366 100644 --- a/redwood-treehouse/src/commonTest/kotlin/app/cash/redwood/treehouse/StateSnapshotTest.kt +++ b/redwood-treehouse/src/commonTest/kotlin/app/cash/redwood/treehouse/StateSnapshotTest.kt @@ -58,43 +58,35 @@ class StateSnapshotTest { "content": { "key1": [ ["MutableState", { - "value": ["kotlin.Int", 1 - ] + "value": ["kotlin.Int", 1] } ] ], "key2": [ - ["kotlin.Int", 1 - ] + ["kotlin.Int", 1] ], "key3": [ ["MutableState", { - "value": ["kotlin.String", "str" - ] + "value": ["kotlin.String", "str"] } ] ], "key4": [ - ["kotlin.String", "str" - ] + ["kotlin.String", "str"] ], "key5": [ null ], "key6": [ - ["kotlin.Boolean", true - ] + ["kotlin.Boolean", true] ], "key7": [ - ["kotlin.Double", 1.5 - ] + ["kotlin.Double", 1.5] ], "key8": [ ["kotlin.collections.ArrayList", [ - ["kotlin.Int", 1 - ], - ["kotlin.String", "str" - ] + ["kotlin.Int", 1], + ["kotlin.String", "str"] ] ] ]