1 unstable release

0.1.0 Jul 14, 2020

#892 in Testing

Download history 46/week @ 2024-07-19 56/week @ 2024-07-26 46/week @ 2024-08-02 133/week @ 2024-08-09 146/week @ 2024-08-16 49/week @ 2024-08-23 45/week @ 2024-08-30 35/week @ 2024-09-06 42/week @ 2024-09-13 48/week @ 2024-09-20 106/week @ 2024-09-27 206/week @ 2024-10-04 85/week @ 2024-10-11 33/week @ 2024-10-18 49/week @ 2024-10-25 32/week @ 2024-11-01

239 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