Skip to content

Commit d46679c

Browse files
mbrandonwgithub-actions[bot]
authored andcommitted
Run swift-format
1 parent 9877102 commit d46679c

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

Sources/Clocks/TestClock.swift

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,12 @@
8888
public private(set) var now: Instant
8989

9090
private let lock = NSRecursiveLock()
91-
private var suspensions: [(
92-
id: UUID,
93-
deadline: Instant,
94-
continuation: AsyncThrowingStream<Never, Error>.Continuation
95-
)] = []
91+
private var suspensions:
92+
[(
93+
id: UUID,
94+
deadline: Instant,
95+
continuation: AsyncThrowingStream<Never, Error>.Continuation
96+
)] = []
9697

9798
public init(now: Instant = .init()) {
9899
self.now = .init()

Tests/ClocksTests/TestClocksTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ final class TestClockTests: XCTestCase, @unchecked Sendable {
6363
}
6464

6565
#if DEBUG && canImport(Darwin)
66-
@MainActor
66+
@MainActor
6767
func testRunWithTimeout() async throws {
6868
XCTExpectFailure {
6969
$0.compactDescription == """

0 commit comments

Comments
 (0)