diff --git a/Sources/SnapshotTesting/Snapshotting/Any.swift b/Sources/SnapshotTesting/Snapshotting/Any.swift index b5038cb1..80ef8ff0 100644 --- a/Sources/SnapshotTesting/Snapshotting/Any.swift +++ b/Sources/SnapshotTesting/Snapshotting/Any.swift @@ -129,7 +129,9 @@ private func snap( return lines.joined() } -private func sort(_ children: Mirror.Children, visitedValues: Set) -> Mirror.Children { +private func sort(_ children: Mirror.Children, visitedValues: Set) + -> Mirror.Children +{ return .init( children .map({ (child: $0, snap: snap($0, visitedValues: visitedValues)) })