macro_rules! assert_display_snapshot {
($value:expr, @$snapshot:literal) => { ... };
($name:expr, $value:expr) => { ... };
($value:expr) => { ... };
}
Expand description
Asserts a Display
snapshot.
The value needs to implement the fmt::Display
trait.
The snapshot name is optional.