Skip to content

Commit

Permalink
Run swift-format
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrandonw authored and github-actions[bot] committed Jan 14, 2025
1 parent 41e5159 commit 2e6a85b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sources/SnapshotTesting/Snapshotting/Any.swift
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ private func snap<T>(
return lines.joined()
}

private func sort(_ children: Mirror.Children, visitedValues: Set<ObjectIdentifier>) -> Mirror.Children {
private func sort(_ children: Mirror.Children, visitedValues: Set<ObjectIdentifier>)
-> Mirror.Children
{
return .init(
children
.map({ (child: $0, snap: snap($0, visitedValues: visitedValues)) })
Expand Down

0 comments on commit 2e6a85b

Please sign in to comment.