Skip to content

Commit 8b9698d

Browse files
committed
fix(TestSuiteSettings): test returned userData as Int
1 parent 5d9e819 commit 8b9698d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/commonTest/kotlin/suite/TestSuiteSettings.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ internal class TestSuiteSettings {
4545
userData = json { "customUserData" to 42.0 }
4646
)
4747
setSettings(copy).wait() shouldEqual TaskStatus.Published
48-
getSettings() shouldEqual copy
48+
getSettings() shouldEqual copy.copy(
49+
userData = json { "customUserData" to 42 } // Round value expected to deserialize as int
50+
)
4951
}
5052
}
5153
}

0 commit comments

Comments
 (0)