Skip to content

Commit

Permalink
Update HotswapSpec.scala
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Urban <[email protected]>
  • Loading branch information
forkedcancel and durban authored Sep 18, 2023
1 parent f916dc6 commit 854e2b8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class HotswapSpec extends BaseSpec { outer =>
val go = Hotswap.create[IO, Unit].use { hs =>
hs.swap(IO.sleep(1.minute).toResource).start *>
IO.sleep(5.seconds) *>
hs.get.use_.timeout(1.second) *> IO.unit
hs.get.use_.timeout(1.second).void
}
go must completeAs(())
}
Expand Down

0 comments on commit 854e2b8

Please sign in to comment.