Crates.io | assert-text |
lib.rs | assert-text |
version | 0.2.10 |
source | src |
created_at | 2021-07-03 01:03:53.108057 |
updated_at | 2024-06-09 13:29:33.597538 |
description | the testing macro tools. |
homepage | |
repository | https://github.com/aki-akaguma/assert-texts |
max_upload_size | |
id | 418069 |
size | 30,908 |
the testing macro tools.
This checks that strings are equal. You will see different characters if that is different.
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)
This project is licensed under either of
at your option.