mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
Fix project warnings (#791)
- Swift 5.8 warnings - Run SwiftFormat 0.51.5 - Fix SwiftLint blanket_disable_command warnings. (Assets.swift will be fixed by SwiftGen).
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
import XCTest
|
||||
|
||||
// swiftlint:disable force_unwrapping
|
||||
|
||||
class DateTests: XCTestCase {
|
||||
let calendar = Calendar.current
|
||||
let startOfToday = Calendar.current.startOfDay(for: .now)
|
||||
@@ -41,3 +42,5 @@ class DateTests: XCTestCase {
|
||||
XCTAssertEqual(theMillennium.formattedMinimal(), theMillennium.formatted(.dateTime.year().day().month()))
|
||||
}
|
||||
}
|
||||
|
||||
// swiftlint:enable force_unwrapping
|
||||
|
||||
Reference in New Issue
Block a user