mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 13:53:10 +00:00
fish_tests: Break if unescape test failed
Otherwise this prints millions of lines of errors, which just seems like overkill
This commit is contained in:
parent
06f6436943
commit
396d7e105f
1 changed files with 2 additions and 0 deletions
|
@ -399,9 +399,11 @@ static void test_escape_crazy() {
|
|||
|
||||
if (!unescaped_success) {
|
||||
err(L"Failed to unescape string <%ls>", escaped_string.c_str());
|
||||
break;
|
||||
} else if (unescaped_string != random_string) {
|
||||
err(L"Escaped and then unescaped string '%ls', but got back a different string '%ls'",
|
||||
random_string.c_str(), unescaped_string.c_str());
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue