Skip to content

Commit

Permalink
test ordering maintained during finalization
Browse files Browse the repository at this point in the history
  • Loading branch information
samspills committed Jan 14, 2024
1 parent 2e48a1f commit ecd9008
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,9 @@ class DispatcherSpec extends BaseSpec with DetectPlatform {
0.until(length) foreach { i =>
runner.unsafeRunAndForget(results.update(_ :+ i).guarantee(gate.release))
}
} *> gate.await
}
}
_ <- gate.await

vec <- results.get
_ <- IO(vec mustEqual 0.until(length).toVector)
Expand Down

0 comments on commit ecd9008

Please sign in to comment.