rust-pretty-assertions icon indicating copy to clipboard operation
rust-pretty-assertions copied to clipboard

Add feature for `-/+` instead of `</>`

Open spenserblack opened this issue 4 years ago • 2 comments

Fixes #35

If users prefer -/+ to </>, they can add this to Cargo.toml:

[dev-dependencies]
pretty_assertions = { version = "*", features = ["git-style-diff"] }

This probably isn't the best name for the feature, so I'm open to suggestions :laughing:

spenserblack avatar Jan 24 '20 14:01 spenserblack

I included the same in the "now configurable" patch that I've posted as a WIP (#38). I called it "diffstyle_git" ... though I'm not super-happy about that either. 😄

rivy avatar Feb 05 '20 02:02 rivy

@colin-kiegel Any chance of a review of this PR or #38?

spenserblack avatar Aug 23 '20 15:08 spenserblack