Crates.io | assertify_proc_macros |
lib.rs | assertify_proc_macros |
version | 0.7.1 |
source | src |
created_at | 2019-12-10 00:52:23.86419 |
updated_at | 2024-03-15 07:52:57.368979 |
description | Deprecated: use assert2 for better assertions |
homepage | https://github.com/danielparks/assertify |
repository | https://github.com/danielparks/assertify |
max_upload_size | |
id | 188090 |
size | 1,964 |
Use assert2 instead of this crate. assertify!
can be replaced by the
more capable assert2::assert!
everywhere, and testify!
can implemented
with a short macro:
macro_rules! testify {
($name:ident, $($test:tt)+) => {
#[test]
fn $name() {
::assert2::assert!($($test)+);
}
};
}