File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Tests/Functional/Asynchronous/Predicates Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ extension XCTestCase {
284
284
285
285
// Otherwise, wait another fraction of a second.
286
286
runLoop. runUntilDate ( NSDate ( timeIntervalSinceNow: 0.01 ) )
287
- } while NSDate ( ) . compare ( timeoutDate) == NSComparisonResult . OrderedAscending
287
+ } while NSDate ( ) . compare ( timeoutDate) == NSComparisonResult . orderedAscending
288
288
289
289
if unfulfilledDescriptions. count > 0 {
290
290
// Not all expectations were fulfilled. Append a failure
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ class PredicateExpectationsTestCase: XCTestCase {
41
41
let predicate = NSPredicate ( block: {
42
42
evaluatedObject, bindings in
43
43
if let evaluatedDate = evaluatedObject as? NSDate {
44
- return evaluatedDate. compare ( NSDate ( ) ) == NSComparisonResult . OrderedAscending
44
+ return evaluatedDate. compare ( NSDate ( ) ) == NSComparisonResult . orderedAscending
45
45
}
46
46
return false
47
47
} )
@@ -55,7 +55,7 @@ class PredicateExpectationsTestCase: XCTestCase {
55
55
let halfSecLaterDate = NSDate ( timeIntervalSinceNow: 0.01 )
56
56
let predicate = NSPredicate ( block: { evaluatedObject, bindings in
57
57
if let evaluatedDate = evaluatedObject as? NSDate {
58
- return evaluatedDate. compare ( NSDate ( ) ) == NSComparisonResult . OrderedDescending
58
+ return evaluatedDate. compare ( NSDate ( ) ) == NSComparisonResult . orderedDescending
59
59
}
60
60
return false
61
61
} )
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ class PredicateHandlerTestCase: XCTestCase {
44
44
let halfSecLaterDate = NSDate ( timeIntervalSinceNow: 0.2 )
45
45
let predicate = NSPredicate ( block: { evaluatedObject, bindings in
46
46
if let evaluatedDate = evaluatedObject as? NSDate {
47
- return evaluatedDate. compare ( NSDate ( ) ) == NSComparisonResult . OrderedAscending
47
+ return evaluatedDate. compare ( NSDate ( ) ) == NSComparisonResult . orderedAscending
48
48
}
49
49
return false
50
50
} )
You can’t perform that action at this time.
0 commit comments