Add SwiftFormat to the project. (#129)

* Run swiftformat for whitespace.
* Run swiftformat with some rules.
This commit is contained in:
Doug
2022-07-06 14:49:05 +01:00
committed by GitHub
parent 26d8affaa8
commit 02eb4b35e2
188 changed files with 759 additions and 717 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ import XCTest
class BackgroundTaskTests: XCTestCase {
private enum Constants {
static let bgTaskName: String = "test"
static let bgTaskName = "test"
}
func testInAnExtension() {
@@ -192,7 +192,7 @@ private class MockApplication: ApplicationProtocol {
self.allowTasks = allowTasks
}
private static var bgTaskIdentifier: Int = 0
private static var bgTaskIdentifier = 0
private var bgTasks: [UIBackgroundTaskIdentifier: Bool] = [:]