7 releases

0.2.10 Jun 9, 2024
0.2.9 Feb 12, 2023
0.2.8 Jan 31, 2023
0.2.6 Jun 12, 2022
0.2.4 Jul 3, 2021

#1204 in Text processing

48 downloads per month
Used in 3 crates

MIT/Apache

13KB
245 lines

assert-text

crate Docs Rust Version Apache2/MIT licensed Test ubu Test mac Test win

the testing macro tools.

This checks that strings are equal. You will see different characters if that is different.

Features

  • assert_text_eq!(txt1, txt2)
  • assert_text_starts_with!(txt1, txt2)
  • assert_text_ends_with!(txt1, txt2)
  • assert_text_match!(txt1, regex_text2)
  • minimum support rustc 1.56.1 (59eed8a2a 2021-11-01)

Changelogs

This crate's changelog here.

License

This project is licensed under either of

at your option.

Dependencies

~2.2–3.5MB
~54K SLoC