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

#1200 in Text processing

Download history 3/week @ 2024-07-08 50/week @ 2024-07-22 15/week @ 2024-08-12 5/week @ 2024-08-19 9/week @ 2024-08-26 13/week @ 2024-09-02 7/week @ 2024-09-09 10/week @ 2024-09-16 30/week @ 2024-09-23 19/week @ 2024-09-30 1/week @ 2024-10-07 18/week @ 2024-10-14

68 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