Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ikesyo committed Aug 6, 2023
1 parent 2c1afa8 commit d9e26ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/NimbleTests/Matchers/AsyncAllPassTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ private func asyncBeNil<T>() -> AsyncPredicate<T> {
}

final class AsyncAllPassTest: XCTestCase {
#if !os(WASI)
func testAllPassArray() async {
await expect([1, 2, 3, 4]).to(allPass { value in
await asyncCheck { value < 5 }
Expand Down Expand Up @@ -67,6 +68,7 @@ final class AsyncAllPassTest: XCTestCase {
}))
}
}
#endif

func testAllPassMatcher() async {
await expect([1, 2, 3, 4]).to(allPass(asyncBeLessThan(5)))
Expand Down

0 comments on commit d9e26ac

Please sign in to comment.