pretty_assertions 0.1.0
Pretty assertions for equality checks
A Cairo port of the rust-pretty-assertions
crate.
assert_eq!(lhs, rhs, "error message: {}", 42);
pretty_assertions::assert_eq(lhs, rhs);
Note that the arguments have to implement Debug
, PartialEq
, and Drop
.
Version 0.1.0
Uploaded 2 months ago
License MIT OR Apache-2.0
Size 4.0 KB
Run the following command in your project dir
scarb add pretty_assertions@0.1.0
Or add the following line to your Scarb.toml
pretty_assertions = "0.1.0"
Homepage github.com/m-kus/cairo-pretty-assertions
Repository github.com/m-kus/cairo-pretty-assertions