insta

Macro assert_debug_snapshot

Source
macro_rules! assert_debug_snapshot {
    ($($arg:tt)*) => { ... };
}
Expand description

Asserts a Debug snapshot.

The value needs to implement the Debug trait. This is useful for simple values that do not implement the serde::Serialize trait, but does not permit redactions.

Debug is called with "{:#?}", which means this uses pretty-print.