Skip to content

Commit 9ae5972

Browse files
committed
~adjust test
1 parent aabab14 commit 9ae5972

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ui/kotlinx-coroutines-javafx/test/JavaFxObservableAsFlowTest.kt

+1-3
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,11 @@ class JavaFxObservableAsFlowTest : TestBase() {
9292

9393
val property = SimpleIntegerProperty(0)
9494

95-
runCatching {
95+
assertFailsWith<TestException> {
9696
property.asFlow().onEach {
9797
yield()
9898
throw TestException()
9999
}.collect()
100100
}
101-
102101
}
103-
104102
}

0 commit comments

Comments
 (0)