mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
add test case for 364d3dbbf8
This commit is contained in:
parent
364d3dbbf8
commit
9b97c55546
2 changed files with 12 additions and 0 deletions
|
@ -62,3 +62,14 @@ else
|
|||
set sta fail
|
||||
end
|
||||
echo Test 4 $sta
|
||||
|
||||
function test_builtin_status
|
||||
return 1
|
||||
end
|
||||
test_builtin_status
|
||||
if [ $status -eq 1 ]
|
||||
set sta pass
|
||||
else
|
||||
set sta fail
|
||||
end
|
||||
echo Test 5 $sta
|
||||
|
|
|
@ -6,3 +6,4 @@ Test 2 pass
|
|||
Test pass
|
||||
Test 3 pass
|
||||
Test 4 pass
|
||||
Test 5 pass
|
||||
|
|
Loading…
Reference in a new issue