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
17KB
261 lines
assert-text
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
License
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Dependencies
~2–3MB
~50K SLoC