Tests and fix to allow return to work correctly within if statements. Closes #1297.

This commit is contained in:
ridiculousfish
2014-02-12 01:39:06 -08:00
parent dd49399e45
commit 29ddb68da4
3 changed files with 16 additions and 0 deletions

View File

@@ -121,3 +121,12 @@ echo -e Catch your breath
echo -e 'abc\x21def'
echo -e 'abc\x211def'
function always_fails
if true
return 1
end
end
always_fails ; echo $status