Macro insta::assert_debug_snapshot
source ยท macro_rules! assert_debug_snapshot { ($($arg:tt)*) => { ... }; }
Expand description
Asserts a Debug snapshot.
The value needs to implement the fmt::Debug trait. This is useful for
simple values that do not implement the Serialize trait, but does not
permit redactions.
Debug is called with "{:#?}", which means this uses pretty-print.