Skip to content

Commit

Permalink
Merge commit '4f0e2c877cc40bf7257d07a0f263cc3cfc3cc7f7' into HEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
Atry committed Dec 15, 2021
2 parents 8c3124f + 4f0e2c8 commit cb3e493
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,19 @@ final class taskSpec extends AsyncFreeSpec with Matchers {
!Shift(task2) should be("try: my exception")
})

"try with Each" ignore {
val listTask = Task {
val x =
try {
10 * !Each(List(1, 2))
} finally {}
List(x)
}
Task.toFuture(listTask).map {
_ should be(List(10, 20))
}
}

"empty try" in {
val logs = ArrayBuffer.empty[String]

Expand Down

0 comments on commit cb3e493

Please sign in to comment.