pub fn assert_snapshot_plain<S: AsRef<str>>(snapshot_name: S, output: &str)
Expand description

Asserts that the given string matches the snapshot saved in the snapshot file. The given string will be used as plain output and directly compared with the stored snapshot.

If the value differs from the snapshot, the assertion fails and prints a colored diff output. One trailing newline in the snapshot output is ignored by default.