mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 20:31:19 -03:00
Fix tests expecting non-zero status after empty function call
This commit is contained in:
@@ -92,10 +92,7 @@ else
|
||||
end
|
||||
echo Test 4 $sta
|
||||
|
||||
logmsg "Ensure eval doesn't unnecessarily mess with the exit status"
|
||||
function empty_func ; end
|
||||
false ; eval empty_func ; echo $status
|
||||
true ; eval empty_func ; echo $status
|
||||
logmsg "Testing builtin status"
|
||||
|
||||
function test_builtin_status
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user