We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 635114c commit 02ff553Copy full SHA for 02ff553
Sources/SnapshotTesting/AssertSnapshot.swift
@@ -7,12 +7,12 @@ import XCTest
7
/// diffTool = "ksdiff"
8
/// ```
9
public var diffTool: String? {
10
- get { diffToolCommand?("", "").trimmingCharacters(in: .whitespaces) }
11
- set {
12
- diffToolCommand = newValue.map { value in
13
- { [value, $0, $1].joined(separator: " ") }
14
- }
+ get { diffToolCommand?("", "").trimmingCharacters(in: .whitespaces) }
+ set {
+ diffToolCommand = newValue.map { value in
+ { [value, $0, $1].joined(separator: " ") }
15
}
+ }
16
17
18
/// Enhances failure messages with a diff tool expression created by the closure, such as an clickable
0 commit comments