6 releases

0.2.9 Feb 12, 2023
0.2.8 Jan 31, 2023
0.2.6 Jun 12, 2022
0.2.5 Nov 14, 2021
0.2.4 Jul 3, 2021

#821 in Testing

Download history 19/week @ 2024-02-19 10/week @ 2024-02-26 2/week @ 2024-03-04 22/week @ 2024-03-11 2/week @ 2024-03-18 7/week @ 2024-03-25 24/week @ 2024-04-01

56 downloads per month
Used in ps-mem

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.3–3.5MB
~54K SLoC