Skip to content

Commit

Permalink
ImageSnapshot: fixed Xcode 15 compilation
Browse files Browse the repository at this point in the history
Same as #2602, but didn't notice this in #2630, and since we don't have iOS 17 tests in CI yet, it went unnoticed.
  • Loading branch information
NachoSoto committed Jun 14, 2023
1 parent c9aa39e commit 1072a03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/UnitTests/TestHelpers/ImageSnapshot.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ func haveValidSnapshot<Value>(
timeout: TimeInterval = 5,
file: StaticString = #file,
line: UInt = #line
) -> Predicate<Value> {
return Predicate { actualExpression in
) -> Nimble.Predicate<Value> {
return Nimble.Predicate { actualExpression in
guard let value = try actualExpression.evaluate() else {
return PredicateResult(status: .fail, message: .fail("have valid snapshot"))
}
Expand Down

0 comments on commit 1072a03

Please sign in to comment.