macro_rules! panic_msg {
    ($name:expr, $msg: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"));