Skip to content

Commit

Permalink
~adjust test
Browse files Browse the repository at this point in the history
  • Loading branch information
qwwdfsad committed Apr 12, 2021
1 parent aabab14 commit 9ae5972
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,11 @@ class JavaFxObservableAsFlowTest : TestBase() {

val property = SimpleIntegerProperty(0)

runCatching {
assertFailsWith<TestException> {
property.asFlow().onEach {
yield()
throw TestException()
}.collect()
}

}

}

0 comments on commit 9ae5972

Please sign in to comment.