Skip to content

Commit d8fecd2

Browse files
committed
Merge remote-tracking branch 'origin/main' into swift-testing
2 parents ca6f4dc + 02ff553 commit d8fecd2

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.editorconfig

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
indent_style = space
7+
indent_size = 2
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,9 @@ targets: [
210210
- **`Codable` support**. Snapshot encodable data structures into their JSON and property list
211211
representations.
212212
- **Custom diff tool integration**. Configure failure messages to print diff commands for
213-
[Kaleidoscope](https://kaleidoscope.app) (or your diff tool of choice).
213+
[Kaleidoscope](https://kaleidoscope.app) or your diff tool of choice.
214214
``` swift
215-
SnapshotTesting.diffTool = "ksdiff"
215+
SnapshotTesting.diffToolCommand = { "ksdiff \($0) \($1)" }
216216
```
217217

218218
[available-strategies]: https://swiftpackageindex.com/pointfreeco/swift-snapshot-testing/main/documentation/snapshottesting/snapshotting

0 commit comments

Comments
 (0)