Skip to content

Commit

Permalink
Run swift-format
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencelis authored and github-actions[bot] committed Apr 5, 2024
1 parent c81750d commit 625ccca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/InlineSnapshotTesting/AssertInlineSnapshot.swift
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ public struct InlineSnapshotSyntaxDescriptor: Hashable {
if snapshot.wasRecording || functionCallExpr.trailingClosure == nil {
functionCallExpr.rightParen?.trailingTrivia = .space
if let snapshotClosure {
functionCallExpr.trailingClosure = snapshotClosure // FIXME: ?? multipleTrailingClosures.removeFirst()
functionCallExpr.trailingClosure = snapshotClosure // FIXME: ?? multipleTrailingClosures.removeFirst()
} else if !functionCallExpr.additionalTrailingClosures.isEmpty {
let additionalTrailingClosure = functionCallExpr.additionalTrailingClosures.remove(
at: functionCallExpr.additionalTrailingClosures.startIndex
Expand Down
2 changes: 1 addition & 1 deletion Sources/SnapshotTesting/AssertSnapshot.swift
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ private class CleanCounterBetweenTestCases: NSObject, XCTestObservation {
if Thread.isMainThread {
doRegisterIfNeeded()
} else {
DispatchQueue.main.sync {
DispatchQueue.main.sync {
doRegisterIfNeeded()
}
}
Expand Down

0 comments on commit 625ccca

Please sign in to comment.