diff --git a/Clocker/Clocker/LocationController.swift b/Clocker/Clocker/LocationController.swift index c635e26..0218951 100644 --- a/Clocker/Clocker/LocationController.swift +++ b/Clocker/Clocker/LocationController.swift @@ -7,7 +7,7 @@ import CoreModelKit class LocationController: NSObject { private let store: DataStore - + init(withStore dataStore: DataStore) { store = dataStore super.init() diff --git a/Clocker/ClockerUnitTests/EventInfoTests.swift b/Clocker/ClockerUnitTests/EventInfoTests.swift index eda12f9..8bcb76e 100644 --- a/Clocker/ClockerUnitTests/EventInfoTests.swift +++ b/Clocker/ClockerUnitTests/EventInfoTests.swift @@ -76,7 +76,7 @@ class EventInfoTests: XCTestCase { XCTAssert(mockEventInfo.metadataForMeeting() == "in 25h", "Metadata for meeting: \(mockEventInfo.metadataForMeeting()) doesn't match expectation") } - + func testMetadataForEventHappeningAfterAnHour() throws { let pastChunk = TimeChunk(seconds: 10, minutes: 10, hours: 1, days: 0, weeks: 0, months: 0, years: 0) let mockEvent = EKEvent(eventStore: eventStore) @@ -90,7 +90,7 @@ class EventInfoTests: XCTestCase { XCTAssert(mockEventInfo.metadataForMeeting() == "in 1h", "Metadata for meeting: \(mockEventInfo.metadataForMeeting()) doesn't match expectation") } - + func testMetadataForEventHappeningAfterThreeHours() throws { let pastChunk = TimeChunk(seconds: 10, minutes: 10, hours: 3, days: 0, weeks: 0, months: 0, years: 0) let mockEvent = EKEvent(eventStore: eventStore) diff --git a/Clocker/ClockerUnitTests/ReviewControllerTests.swift b/Clocker/ClockerUnitTests/ReviewControllerTests.swift index 48cd577..4f3135f 100644 --- a/Clocker/ClockerUnitTests/ReviewControllerTests.swift +++ b/Clocker/ClockerUnitTests/ReviewControllerTests.swift @@ -140,7 +140,7 @@ class ReviewControllerTests: XCTestCase { XCTAssertNotNil(mockDefaults.object(forKey: "last-version")) mockDefaults.removeSuite(named: mockSuite) } - + private func randomLetter() -> String { let alphabet: [String] = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"] return alphabet[Int(arc4random_uniform(26))] diff --git a/Clocker/Onboarding/OnboardingSearchController.swift b/Clocker/Onboarding/OnboardingSearchController.swift index f02426b..84fc1bf 100644 --- a/Clocker/Onboarding/OnboardingSearchController.swift +++ b/Clocker/Onboarding/OnboardingSearchController.swift @@ -40,7 +40,7 @@ class OnboardingSearchController: NSViewController { super.viewDidLoad() view.wantsLayer = true - + searchResultsDataSource = SearchDataSource(with: searchBar, location: .onboarding) resultsTableView.isHidden = true diff --git a/Clocker/Overall App/AppDefaults.swift b/Clocker/Overall App/AppDefaults.swift index e5fd54d..a81c6e5 100644 --- a/Clocker/Overall App/AppDefaults.swift +++ b/Clocker/Overall App/AppDefaults.swift @@ -45,7 +45,7 @@ class AppDefaults { Themer.shared().set(theme: 0) } } - + private class func defaultsDictionary() -> [String: Any] { return [CLThemeKey: 0, CLDisplayFutureSliderKey: 0,