Use the minimal raw string delimiter in snapshot filters

This commit is contained in:
Scott Werner 2026-10-05 17:28:38 -04:00
parent b14e8594f1
commit 37979728bc

View file

@ -340,7 +340,7 @@ fn validate_reports_missing_template_dependency() {
cmd.arg(fixture("templates/missing_dependency/workflow.fabro"));
let mut filters = context.filters();
filters.push((
r#"(?:\.\./)+[^`\s]*?/test/(templates/missing_dependency/)"#.to_string(),
r"(?:\.\./)+[^`\s]*?/test/(templates/missing_dependency/)".to_string(),
"[FIXTURES]/$1".to_string(),
));
filters.push((