Macro rivia::panic_compare_msg
source · [−]macro_rules! panic_compare_msg {
($name:expr, $msg:expr, $actual:expr, $target:expr) => { ... };
}Expand description
Helper function for testing to simply panic with the given message in a repeatable formatting.
Examples
ⓘ
use rivia::prelude::*;
panic_msg!("assert_vfs_mkdir_p!", "failed to create directory", PathBuf::from("foo"), PathBuf::from("foo"));