mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +00:00
Improve failure message in test_error_messages
This commit is contained in:
parent
c52c03b03c
commit
87d434a98d
1 changed files with 4 additions and 2 deletions
|
@ -53,8 +53,10 @@ fn test_error_messages() {
|
|||
assert!(res.is_err());
|
||||
assert!(
|
||||
string_matches_format(&errors[0].text, L!($error_text_format)),
|
||||
"{}",
|
||||
$src
|
||||
"command '{}' is expected to match error pattern '{}' but is '{}'",
|
||||
$src,
|
||||
$error_text_format,
|
||||
&errors[0].text
|
||||
);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue