7 个版本
0.2.10 | 2024年6月9日 |
---|---|
0.2.9 | 2023年2月12日 |
0.2.8 | 2023年1月31日 |
0.2.6 | 2022年6月12日 |
0.2.4 | 2021年7月3日 |
#769 in 测试
51 每月下载量
在 3 crates 中使用
13KB
245 代码行
assert-text
测试宏工具。
这检查字符串是否相等。如果它们不相等,您将看到不同的字符。
功能
- assert_text_eq!(txt1, txt2)
- assert_text_starts_with!(txt1, txt2)
- assert_text_ends_with!(txt1, txt2)
- assert_text_match!(txt1, regex_text2)
- 最低支持 rustc 1.56.1 (59eed8a2a 2021-11-01)
变更日志
许可证
该项目根据您的选择许可为
- Apache 许可证第 2 版 (LICENSE-APACHE 或 https://apache.ac.cn/licenses/LICENSE-2.0)
- MIT 许可证 (LICENSE-MIT 或 https://opensource.org/licenses/MIT)
。
依赖项
~2.3–3.5MB
~54K SLoC