1 unstable release

0.1.0 Jul 14, 2020

#716 in Testing

Download history 63/week @ 2024-11-15 418/week @ 2024-11-22 148/week @ 2024-11-29 42/week @ 2024-12-06 66/week @ 2024-12-13 43/week @ 2024-12-20 13/week @ 2024-12-27 142/week @ 2025-01-03 87/week @ 2025-01-10 81/week @ 2025-01-17 98/week @ 2025-01-24 176/week @ 2025-01-31 189/week @ 2025-02-07 127/week @ 2025-02-14 69/week @ 2025-02-21 179/week @ 2025-02-28

579 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