tests

Function compare_with_goldenfile

Source
pub fn compare_with_goldenfile(
    actual: String,
    goldenfile_path: String,
) -> Result<()>
Expand description

Compares a string to the contents of the relevant goldenfile. Pretty prints the differences if necessary