Run swift-format
This commit is contained in:
parent
9e41fd55f9
commit
83934f8649
|
@ -117,7 +117,7 @@ final class StandupsListModel: ObservableObject {
|
|||
self.standups = [
|
||||
.mock,
|
||||
.designMock,
|
||||
.engineeringMock
|
||||
.engineeringMock,
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -138,7 +138,8 @@ extension AlertState where Action == StandupsListModel.AlertAction {
|
|||
TextState("No")
|
||||
}
|
||||
} message: {
|
||||
TextState("""
|
||||
TextState(
|
||||
"""
|
||||
Unfortunately your past data failed to load. Would you like to load some mock data to play \
|
||||
around with?
|
||||
""")
|
||||
|
@ -259,7 +260,7 @@ struct StandupsList_Previews: PreviewProvider {
|
|||
initialData: try! JSONEncoder().encode([
|
||||
Standup.mock,
|
||||
.engineeringMock,
|
||||
.designMock
|
||||
.designMock,
|
||||
])
|
||||
)
|
||||
} operation: {
|
||||
|
@ -302,7 +303,7 @@ struct StandupsList_Previews: PreviewProvider {
|
|||
initialData: try! JSONEncoder().encode([
|
||||
Standup.mock,
|
||||
.engineeringMock,
|
||||
.designMock
|
||||
.designMock,
|
||||
])
|
||||
)
|
||||
} operation: {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import CustomDump
|
||||
import Dependencies
|
||||
import XCTest
|
||||
import CustomDump
|
||||
|
||||
@testable import Standups
|
||||
|
||||
@MainActor
|
||||
|
@ -21,7 +22,7 @@ final class EditStandupTests: XCTestCase {
|
|||
XCTAssertNoDifference(
|
||||
model.standup.attendees,
|
||||
[
|
||||
Attendee(id: Attendee.ID(uuidString: "00000000-0000-0000-0000-000000000000")!),
|
||||
Attendee(id: Attendee.ID(uuidString: "00000000-0000-0000-0000-000000000000")!)
|
||||
]
|
||||
)
|
||||
|
||||
|
@ -117,7 +118,7 @@ final class EditStandupTests: XCTestCase {
|
|||
XCTAssertNoDifference(
|
||||
model.standup.attendees,
|
||||
[
|
||||
Attendee(id: Attendee.ID(uuidString: "00000000-0000-0000-0000-000000000001")!),
|
||||
Attendee(id: Attendee.ID(uuidString: "00000000-0000-0000-0000-000000000001")!)
|
||||
]
|
||||
)
|
||||
|
||||
|
@ -130,7 +131,7 @@ final class EditStandupTests: XCTestCase {
|
|||
XCTAssertNoDifference(
|
||||
model.standup.attendees,
|
||||
[
|
||||
Attendee(id: Attendee.ID(uuidString: "00000000-0000-0000-0000-000000000004")!),
|
||||
Attendee(id: Attendee.ID(uuidString: "00000000-0000-0000-0000-000000000004")!)
|
||||
]
|
||||
)
|
||||
}
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
import AsyncAlgorithms
|
||||
import CasePaths
|
||||
import CustomDump
|
||||
import Dependencies
|
||||
import XCTest
|
||||
import CustomDump
|
||||
|
||||
@testable import Standups
|
||||
|
||||
@MainActor
|
||||
|
@ -320,4 +321,3 @@ final class RecordMeetingTests: XCTestCase {
|
|||
await task.value
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import CustomDump
|
||||
import SwiftUI
|
||||
import SwiftUINavigation
|
||||
import XCTest
|
||||
|
||||
|
@ -88,8 +89,6 @@ final class AlertTests: XCTestCase {
|
|||
}
|
||||
}
|
||||
|
||||
import SwiftUI
|
||||
|
||||
// NB: This is a compile time test to make sure that async action closures can be used in
|
||||
// Swift <5.7.
|
||||
@available(iOS 15, macOS 12, tvOS 15, watchOS 8, *)
|
||||
|
|
Loading…
Reference in New Issue