Skip to content

Commit 506b605

Browse files
committed
fix
1 parent 879016e commit 506b605

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

Sources/SnapshotTesting/AssertSnapshot.swift

+8-8
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

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import XCTest
66
@available(
77
*,
88
deprecated,
9-
message: """Use 'assertInlineSnapshot(of:)' from the 'InlineSnapshotTesting' module, instead."""
9+
message: "Use 'assertInlineSnapshot(of:)' from the 'InlineSnapshotTesting' module, instead."
1010
)
1111
public func _assertInlineSnapshot<Value>(
1212
matching value: @autoclosure () throws -> Value,
@@ -36,7 +36,7 @@ public func _assertInlineSnapshot<Value>(
3636
@available(
3737
*,
3838
deprecated,
39-
message: """Use 'assertInlineSnapshot(of:)' from the 'InlineSnapshotTesting' module, instead."""
39+
message: "Use 'assertInlineSnapshot(of:)' from the 'InlineSnapshotTesting' module, instead."
4040
)
4141
public func _verifyInlineSnapshot<Value>(
4242
matching value: @autoclosure () throws -> Value,

0 commit comments

Comments
 (0)