mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 08:51:14 -03:00
add test case for 364d3dbbf8
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user