Function snapbox::assert_subset_eq
source · Expand description
Check if a path matches the content of another path, recursively
When the content is text, newlines are normalized.
let output_root = "...";
let expected_root = "tests/snapshots/output.txt";
snapbox::assert_subset_eq(expected_root, output_root);