hush: fix a bit different instance of "No EOL" bug,

add testsuite for that. Expand another testsuite.
This commit is contained in:
Denis Vlasenko
2007-05-23 00:32:25 +00:00
parent 94dace3016
commit 1a7358612f
5 changed files with 57 additions and 40 deletions

View File

@@ -0,0 +1 @@
1

View File

@@ -0,0 +1,7 @@
# last line has no EOL!
if true
then
echo 1
else
echo 2
fi