Thanks to visit codestin.com
Credit goes to lib.rs

8 releases

0.2.11 Sep 27, 2025
0.2.10 Jun 9, 2024
0.2.9 Feb 12, 2023
0.2.8 Jan 31, 2023
0.2.4 Jul 3, 2021

#2402 in Text processing

31 downloads per month
Used in 3 crates

MIT/Apache

17KB
261 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.65.0 (897e37553 2022-11-02)

Changelogs

This crate's changelog here.

License

This project is licensed under either of

at your option.

Dependencies

~2–3MB
~50K SLoC