Make the file path of the failure more visible to be able to click it faster

This commit is contained in:
Oli Scherer 2022-05-25 16:15:31 +00:00
parent 21795f3ce4
commit b64a1c46c6

View File

@ -129,7 +129,7 @@ pub fn run_tests(config: Config) {
eprintln!("`{pattern}` {} in stderr output", "not found".red()); eprintln!("`{pattern}` {} in stderr output", "not found".red());
eprintln!( eprintln!(
"expected because of pattern here: {}:{definition_line}", "expected because of pattern here: {}:{definition_line}",
path.display() path.display().to_string().bold()
); );
dump_stderr = Some(stderr.clone()) dump_stderr = Some(stderr.clone())
} }