We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41e5159 commit 2e6a85bCopy full SHA for 2e6a85b
Sources/SnapshotTesting/Snapshotting/Any.swift
@@ -129,7 +129,9 @@ private func snap<T>(
129
return lines.joined()
130
}
131
132
-private func sort(_ children: Mirror.Children, visitedValues: Set<ObjectIdentifier>) -> Mirror.Children {
+private func sort(_ children: Mirror.Children, visitedValues: Set<ObjectIdentifier>)
133
+ -> Mirror.Children
134
+{
135
return .init(
136
children
137
.map({ (child: $0, snap: snap($0, visitedValues: visitedValues)) })
0 commit comments