Skip to content

Commit 4742060

Browse files
mbrandonwgithub-actions[bot]
authored andcommitted
Run swift-format
1 parent 346f84c commit 4742060

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/SnapshotTesting/AssertSnapshot.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,8 @@ public func verifySnapshot<Value, Format>(
285285
return "Couldn't snapshot value"
286286
}
287287

288-
guard !recording, canGenerateNewSnapshots, fileManager.fileExists(atPath: snapshotFileUrl.path) else {
288+
guard !recording, canGenerateNewSnapshots, fileManager.fileExists(atPath: snapshotFileUrl.path)
289+
else {
289290
try snapshotting.diffing.toData(diffable).write(to: snapshotFileUrl)
290291
#if !os(Linux) && !os(Windows)
291292
if ProcessInfo.processInfo.environment.keys.contains("__XCODE_BUILT_PRODUCTS_DIR_PATHS") {

0 commit comments

Comments
 (0)