insta

Macro assert_compact_debug_snapshot

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

Asserts a Debug snapshot in compact format.

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 does not use pretty-print.