Skip to content

Commit b6c1200

Browse files
committed
update tests for SE-0110
1 parent dd879dd commit b6c1200

File tree

1 file changed

+3
-3
lines changed
  • Tests/Functional/Asynchronous/Predicates/Handler

1 file changed

+3
-3
lines changed

Tests/Functional/Asynchronous/Predicates/Handler/main.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
})

0 commit comments

Comments
 (0)