Skip to content

Commit

Permalink
Try switching IO.never in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Bryan committed Jun 27, 2023
1 parent 65251dc commit 8432dad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class JettyServerSuite extends CatsEffectSuite {
Ok(req.body)

case GET -> Root / "never" =>
IO.never
IO.async(_ => IO.pure(Some(IO.unit)))

case GET -> Root / "slow" =>
Temporal[IO].sleep(50.millis) *> Ok("slow")
Expand Down

0 comments on commit 8432dad

Please sign in to comment.