pretty_assertions 0.1.0

Pretty assertions for equality checks

Readme

Pretty assertions

A Cairo port of the rust-pretty-assertions crate.

Usage

assert_eq!(lhs, rhs, "error message: {}", 42);
pretty_assertions::assert_eq(lhs, rhs);

Note that the arguments have to implement Debug, PartialEq, and Drop.

Metadata

Version 0.1.0

Uploaded 2 months ago

License MIT OR Apache-2.0

Size 4.0 KB

Installation

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"

Monthly downloads

Links

Homepage github.com/m-kus/cairo-pretty-assertions

Repository github.com/m-kus/cairo-pretty-assertions

Owners