hush: fix a bit different instance of "No EOL" bug,
add testsuite for that. Expand another testsuite.
This commit is contained in:
1
shell/hush_test/hush-parsing/noeol2.right
Normal file
1
shell/hush_test/hush-parsing/noeol2.right
Normal file
@@ -0,0 +1 @@
|
||||
1
|
7
shell/hush_test/hush-parsing/noeol2.tests
Executable file
7
shell/hush_test/hush-parsing/noeol2.tests
Executable file
@@ -0,0 +1,7 @@
|
||||
# last line has no EOL!
|
||||
if true
|
||||
then
|
||||
echo 1
|
||||
else
|
||||
echo 2
|
||||
fi
|
Reference in New Issue
Block a user