1 unstable release

0.1.0 Jul 14, 2020

#550 in Testing

Download history 131/week @ 2023-12-08 98/week @ 2023-12-15 86/week @ 2023-12-22 253/week @ 2023-12-29 294/week @ 2024-01-05 263/week @ 2024-01-12 247/week @ 2024-01-19 70/week @ 2024-01-26 105/week @ 2024-02-02 97/week @ 2024-02-09 163/week @ 2024-02-16 211/week @ 2024-02-23 207/week @ 2024-03-01 129/week @ 2024-03-08 192/week @ 2024-03-15 142/week @ 2024-03-22

730 downloads per month
Used in fewer than 6 crates

Apache-2.0/MIT

19KB
364 lines

assert-str

build status codecov crates.io

Macros for asserting multiline strings


lib.rs:

Macros for asserting of multiline strings String and &str. The API is very similar to the API provided by the stdlib's own assert_eq! or assert_ne!. Left and right expression could be different types.

Examples

Some examples are provided in the docs for each individual macro.

No runtime deps