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 5bde38c
Show file tree
Hide file tree
Showing 2 changed files with 4 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 @@ -33,6 +33,7 @@ private func asyncBeNil<T>() -> AsyncPredicate<T> {
}
}

#if !os(WASI)
final class AsyncAllPassTest: XCTestCase {
func testAllPassArray() async {
await expect([1, 2, 3, 4]).to(allPass { value in
Expand Down Expand Up @@ -132,3 +133,4 @@ final class AsyncAllPassTest: XCTestCase {
}
}
}
#endif
2 changes: 2 additions & 0 deletions Tests/NimbleTests/Matchers/SatisfyAllOfTest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ final class SatisfyAllOfTest: XCTestCase {
}
}

#if !os(WASI)
@available(macOS 13.0.0, iOS 16.0.0, tvOS 16.0.0, watchOS 9.0.0, *)
func testAsyncOperatorAnd() async {
await expect(2).to(asyncEqual(2) && beLessThan(3))
Expand All @@ -119,6 +120,7 @@ final class SatisfyAllOfTest: XCTestCase {
await expect(false).toNot(beTrue() && beFalse())
await expect(true).toNot(beTruthy() && beFalsy())
}
#endif

#if !os(WASI)
@available(macOS 13.0.0, iOS 16.0.0, tvOS 16.0.0, watchOS 9.0.0, *)
Expand Down

0 comments on commit 5bde38c

Please sign in to comment.