Skip to content

Commit cbfbaa1

Browse files
mblackmongithub-actions[bot]
authored andcommitted
Run swift-format
1 parent 8234143 commit cbfbaa1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Sources/SnapshotTesting/AssertSnapshot.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)