File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -323,11 +323,13 @@ public func verifySnapshot<Value, Format>(
323323 var snapshotFileUrlCandidate : URL ?
324324 if record != . all {
325325 let thisBundle = Bundle ( for: CleanCounterBetweenTestCases . self)
326- let resourcePath = thisBundle. path ( forResource: " \( testName) . \( identifier) " , ofType: snapshotting. pathExtension)
326+ let resourcePath = thisBundle. path (
327+ forResource: " \( testName) . \( identifier) " , ofType: snapshotting. pathExtension)
327328 snapshotFileUrlCandidate = resourcePath. map ( { URL ( fileURLWithPath: $0) } )
328329 }
329330 if snapshotFileUrlCandidate == nil {
330- snapshotFileUrlCandidate = snapshotDirectoryUrl
331+ snapshotFileUrlCandidate =
332+ snapshotDirectoryUrl
331333 . appendingPathComponent ( " \( testName) . \( identifier) " )
332334 . appendingPathExtension ( snapshotting. pathExtension ?? " " )
333335 }
You can’t perform that action at this time.
0 commit comments