We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83ea40f commit ecae12aCopy full SHA for ecae12a
cats-effects/src/test/scala/com/baeldung/scala/fibers/FibersUnitTest.scala
@@ -15,7 +15,7 @@ class FibersUnitTest extends CatsEffectSuite {
15
test("Fiber should be canceled") {
16
val fibCancel: IO[Outcome[IO, Throwable, String]] = for {
17
fib <- io.start
18
- _ <- IO.sleep(100.millis) >> fib.cancel >> IO("Fiber cancelled").debug()
+ _ <- IO.sleep(100.millis) >> fib.cancel >> IO("Fiber cancelled").printIO
19
res <- fib.join
20
} yield res
21
0 commit comments