macro_rules! assert_snapshot {
($app:expr) => { ... };
($app:expr, $name:expr) => { ... };
}Expand description
Assert that the rendered output matches a snapshot.
On first run, creates the snapshot. On subsequent runs, compares.
macro_rules! assert_snapshot {
($app:expr) => { ... };
($app:expr, $name:expr) => { ... };
}Assert that the rendered output matches a snapshot.
On first run, creates the snapshot. On subsequent runs, compares.