Rust Pretty Assertions
Super helpful crate that shows color diffs in rust tests (including JSON outputs)
Usage
Code
Cargo.toml
[dev-dependencies]
pretty_assertions = "1.4"
Code
main.rs
Super helpful crate that shows color diffs in rust tests (including JSON outputs)
[dev-dependencies]
pretty_assertions = "1.4"