Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge committed Nov 18, 2024
1 parent c7447bf commit 2856a62
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/shared/src/test/scala/cats/effect/std/QueueSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,9 @@ trait QueueTests[Q[_[_], _]] { self: BaseSpec =>

"should return the queue size when take precedes tryOffer" in ticked { implicit ticker =>
constructor(10).flatMap { q =>
take(q).background.use { took => IO.sleep(1.second) *> tryOffer(q, 1) *> took *> size(q) }
take(q).background.use { took =>
IO.sleep(1.second) *> tryOffer(q, 1) *> took *> size(q)
}
} must completeAs(0)
}
}
Expand Down

0 comments on commit 2856a62

Please sign in to comment.