File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Tests/Functional/Asynchronous/Predicates/Handler Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class PredicateHandlerTestCase: XCTestCase {
20
20
func test_predicateIsTrue_handlerReturnsTrue_passes( ) {
21
21
let predicate = Predicate ( value: true )
22
22
let object = NSObject ( )
23
- self . expectation ( for: predicate, evaluatedWith: object, handler: { _ in
23
+ self . expectation ( for: predicate, evaluatedWith: object, handler: {
24
24
return true
25
25
} )
26
26
waitForExpectations ( timeout: 0.1 )
@@ -31,7 +31,7 @@ class PredicateHandlerTestCase: XCTestCase {
31
31
func test_predicateIsTrue_handlerReturnsFalse_fails( ) {
32
32
let predicate = Predicate ( value: true )
33
33
let object = NSObject ( )
34
- self . expectation ( for: predicate, evaluatedWith: object, handler: { _ in
34
+ self . expectation ( for: predicate, evaluatedWith: object, handler: {
35
35
return false
36
36
} )
37
37
waitForExpectations ( timeout: 0.1 )
@@ -48,7 +48,7 @@ class PredicateHandlerTestCase: XCTestCase {
48
48
}
49
49
return false
50
50
} )
51
- expectation ( for: predicate, evaluatedWith: halfSecLaterDate, handler: { _ in
51
+ expectation ( for: predicate, evaluatedWith: halfSecLaterDate, handler: {
52
52
XCTFail ( " Should not call the predicate expectation handler " )
53
53
return true
54
54
} )
You can’t perform that action at this time.
0 commit comments