There was an error while loading. Please reload this page.
1 parent 0a92a82 commit 0429b80Copy full SHA for 0429b80
1 file changed
jindong/src/commonTest/kotlin/io/github/jindong/node/ScheduledHapticEventTest.kt
@@ -15,6 +15,7 @@
15
*/
16
package io.github.jindong.node
17
18
+import io.kotest.assertions.assertSoftly
19
import io.kotest.core.spec.style.FunSpec
20
import io.kotest.matchers.nulls.shouldBeNull
21
import io.kotest.matchers.shouldBe
@@ -29,10 +30,12 @@ class ScheduledHapticEventTest :
29
30
intensity = 0.8f,
31
)
32
- event.startTimeMs shouldBe 0
33
- event.durationMs shouldBe 100
34
- event.intensity shouldBe 0.8f
35
- event.iosParameters.shouldBeNull()
+ assertSoftly(event) {
+ startTimeMs shouldBe 0
+ durationMs shouldBe 100
36
+ intensity shouldBe 0.8f
37
+ iosParameters.shouldBeNull()
38
+ }
39
}
40
41
test("should preserve all specified parameter values") {
0 commit comments