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>(
323
323
var snapshotFileUrlCandidate : URL ?
324
324
if record != . all {
325
325
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)
327
328
snapshotFileUrlCandidate = resourcePath. map ( { URL ( fileURLWithPath: $0) } )
328
329
}
329
330
if snapshotFileUrlCandidate == nil {
330
- snapshotFileUrlCandidate = snapshotDirectoryUrl
331
+ snapshotFileUrlCandidate =
332
+ snapshotDirectoryUrl
331
333
. appendingPathComponent ( " \( testName) . \( identifier) " )
332
334
. appendingPathExtension ( snapshotting. pathExtension ?? " " )
333
335
}
You can’t perform that action at this time.
0 commit comments