Skip to content

Commit

Permalink
make test pass reliably
Browse files Browse the repository at this point in the history
  • Loading branch information
cornerman committed Jan 18, 2024
1 parent 450ed9e commit 99e8dbf
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ class AsyncAwaitSpec extends Specification with CatsEffect {
ref <- Ref[IO].of(0)
defer <- Deferred[IO, Unit]
fiber <- async[IO] {
defer.complete(()).await
IO.never[Unit].await
(defer.complete(()) *> IO.never[Unit]).await
ref.update(_ + 1).await
}.start
_ <- defer.get
Expand Down

0 comments on commit 99e8dbf

Please sign in to comment.