Skip to content

Commit

Permalink
Fix test build pre Swift 5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
ffried committed Sep 15, 2022
1 parent 270981d commit 2e7cc97
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Tests/SwiftyHolidaysTests/CalculatorTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@ final class CalculatorTests: XCTestCase {
XCTAssertEqual(calculator.date(for: date, atNoon: false), Date(timeIntervalSinceReferenceDate: 588729600))
}
}

#if compiler(<5.7) || os(Linux)
extension CalculatorTests.MockCalc: @unchecked Sendable {} // Calendar...
#endif

0 comments on commit 2e7cc97

Please sign in to comment.