fparkan/vendor/ryu/tests/macros/mod.rs
Valentin Popov 1b6a04ca55
Initial vendor packages
Signed-off-by: Valentin Popov <valentin@popov.link>
2024-01-08 01:21:28 +04:00

9 lines
183 B
Rust

macro_rules! check {
($f:tt) => {
assert_eq!(pretty($f), stringify!($f));
};
(-$f:tt) => {
assert_eq!(pretty(-$f), concat!("-", stringify!($f)));
};
}