Skip to content

Commit 5c7674d

Browse files
authored
Disambiguate Nimble Predicate usage (#200)
1 parent 976f19e commit 5c7674d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MobiusCore/Test/TestingErrorHandler.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import Quick
1010
/// for example in `beforeEach`, that will take precedence and this predicate won’t work.
1111
///
1212
/// - Parameter capture: An optional block which is invoked with the message, file and line of the error invocation.
13-
public func raiseError<Out>(capture: ((String, String, UInt) -> Void)? = nil) -> Predicate<Out> {
13+
public func raiseError<Out>(capture: ((String, String, UInt) -> Void)? = nil) -> Nimble.Predicate<Out> {
1414
// This is a simplified version of Nimble’s throwAssertion() that piggybacks on Objective-C exceptions.
1515
return Predicate { actualExpression in
1616
let message = ExpectationMessage.expectedTo("throw an assertion")

0 commit comments

Comments
 (0)