Skip to content

Commit 879016e

Browse files
stephencelisgithub-actions[bot]
authored andcommitted
Run swift-format
1 parent 7323e72 commit 879016e

File tree

2 files changed

+10
-16
lines changed

2 files changed

+10
-16
lines changed

Sources/SnapshotTesting/AssertSnapshot.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -326,16 +326,16 @@ public func verifySnapshot<Value, Format>(
326326
let diffMessage =
327327
diffTool
328328
.map { "\($0) \"\(snapshotFileUrl.path)\" \"\(failedSnapshotFileUrl.path)\"" }
329-
?? """
330-
@\(minus)
331-
"\(snapshotFileUrl.absoluteString)"
332-
@\(plus)
333-
"\(failedSnapshotFileUrl.absoluteString)"
329+
?? """
330+
@\(minus)
331+
"\(snapshotFileUrl.absoluteString)"
332+
@\(plus)
333+
"\(failedSnapshotFileUrl.absoluteString)"
334334
335-
To configure output for a custom diff tool, like Kaleidoscope:
335+
To configure output for a custom diff tool, like Kaleidoscope:
336336
337-
SnapshotTesting.diffTool = "ksdiff"
338-
"""
337+
SnapshotTesting.diffTool = "ksdiff"
338+
"""
339339

340340
let failureMessage: String
341341
if let name = name {

Sources/SnapshotTesting/Internal/Deprecations.swift

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ import XCTest
66
@available(
77
*,
88
deprecated,
9-
message:
10-
"""
11-
Use 'assertInlineSnapshot(of:)' from the 'InlineSnapshotTesting' module, instead.
12-
"""
9+
message: """Use 'assertInlineSnapshot(of:)' from the 'InlineSnapshotTesting' module, instead."""
1310
)
1411
public func _assertInlineSnapshot<Value>(
1512
matching value: @autoclosure () throws -> Value,
@@ -39,10 +36,7 @@ public func _assertInlineSnapshot<Value>(
3936
@available(
4037
*,
4138
deprecated,
42-
message:
43-
"""
44-
Use 'assertInlineSnapshot(of:)' from the 'InlineSnapshotTesting' module, instead.
45-
"""
39+
message: """Use 'assertInlineSnapshot(of:)' from the 'InlineSnapshotTesting' module, instead."""
4640
)
4741
public func _verifyInlineSnapshot<Value>(
4842
matching value: @autoclosure () throws -> Value,

0 commit comments

Comments
 (0)