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 {
2020 func test_predicateIsTrue_handlerReturnsTrue_passes( ) {
2121 let predicate = Predicate ( value: true )
2222 let object = NSObject ( )
23- self . expectation ( for: predicate, evaluatedWith: object, handler: { _ in
23+ self . expectation ( for: predicate, evaluatedWith: object, handler: {
2424 return true
2525 } )
2626 waitForExpectations ( timeout: 0.1 )
@@ -31,7 +31,7 @@ class PredicateHandlerTestCase: XCTestCase {
3131 func test_predicateIsTrue_handlerReturnsFalse_fails( ) {
3232 let predicate = Predicate ( value: true )
3333 let object = NSObject ( )
34- self . expectation ( for: predicate, evaluatedWith: object, handler: { _ in
34+ self . expectation ( for: predicate, evaluatedWith: object, handler: {
3535 return false
3636 } )
3737 waitForExpectations ( timeout: 0.1 )
@@ -48,7 +48,7 @@ class PredicateHandlerTestCase: XCTestCase {
4848 }
4949 return false
5050 } )
51- expectation ( for: predicate, evaluatedWith: halfSecLaterDate, handler: { _ in
51+ expectation ( for: predicate, evaluatedWith: halfSecLaterDate, handler: {
5252 XCTFail ( " Should not call the predicate expectation handler " )
5353 return true
5454 } )
You can’t perform that action at this time.
0 commit comments