File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Tests/FoundationInternationalizationTests Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -660,9 +660,9 @@ final class CalendarTests : XCTestCase {
660
660
let date = Date ( timeIntervalSinceReferenceDate: 2.4499581972890255e+18 )
661
661
let calendar = Calendar ( identifier: . gregorian)
662
662
let components = DateComponents ( weekOfMonth: 3 )
663
- let next = calendar. nextDate ( after: date, matching: components, matchingPolicy: . nextTime)
664
- let nextSmaller = calendar. nextDate ( after: date, matching: components, matchingPolicy: . nextTimePreservingSmallerComponents)
665
- let previous = calendar. nextDate ( after: date, matching: components, matchingPolicy: . previousTimePreservingSmallerComponents)
663
+ _ = calendar. nextDate ( after: date, matching: components, matchingPolicy: . nextTime)
664
+ _ = calendar. nextDate ( after: date, matching: components, matchingPolicy: . nextTimePreservingSmallerComponents)
665
+ _ = calendar. nextDate ( after: date, matching: components, matchingPolicy: . previousTimePreservingSmallerComponents)
666
666
}
667
667
}
668
668
You can’t perform that action at this time.
0 commit comments