Skip to content

Commit

Permalink
Replicate typelevel#3776
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge committed Sep 23, 2023
1 parent 94a9059 commit efd0c23
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,11 +251,11 @@ class DispatcherSpec extends BaseSpec with DetectPlatform {
}

"raise an error on leaked runner" in real {
dispatcher.use(IO.pure(_)) flatMap { runner =>
dispatcher.use(IO.pure(_)).flatMap { runner =>
IO {
runner.unsafeRunAndForget(IO(ko)) must throwAn[IllegalStateException]
}
}
}.replicateA_(10000).as(ok)
}

"report exception if raised during unsafeRunAndForget" in real {
Expand Down

0 comments on commit efd0c23

Please sign in to comment.