Skip to content

Commit 1a9aa29

Browse files
committed
test(compat): add GNU patch compatibility tests
Tests verify diffy produces results compatible with reference tools. Here we have GNU patch. In the future we'll have `git apply`. We don't run reference tool locally, as user may not have the tool. To run it, set `env CI=1` and run the test. Please see the module level doc for more.
1 parent 5a33e37 commit 1a9aa29

53 files changed

Lines changed: 962 additions & 1 deletion

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Cargo.lock‎

Lines changed: 197 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ color = ["dep:anstyle"]
1919
anstyle = { version = "1.0.13", optional = true }
2020

2121
[dev-dependencies]
22-
snapbox = "0.6.24"
22+
snapbox = { version = "0.6.24", features = ["dir"] }
2323

2424
[[example]]
2525
name = "patch_formatter"

0 commit comments

Comments
 (0)