Skip to content

Commit

Permalink
ImageSnapshot: fixed Xcode 15 compilation (#2651)
Browse files Browse the repository at this point in the history
  • Loading branch information
NachoSoto authored Jun 15, 2023
1 parent afc5b0f commit d91276b
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 d91276b

Please sign in to comment.