Add test for empty function name.

This commit is contained in:
Konrad Borowski 2014-05-06 12:18:09 +02:00
parent 13e1e7e1e9
commit 91ebe12fc2
4 changed files with 9 additions and 0 deletions

4
tests/test10.err Normal file
View file

@ -0,0 +1,4 @@
function: No function name given
fish: function ""
^

3
tests/test10.in Normal file
View file

@ -0,0 +1,3 @@
function ""
end
echo Hello, world!

1
tests/test10.out Normal file
View file

@ -0,0 +1 @@
Hello, world!

1
tests/test10.status Normal file
View file

@ -0,0 +1 @@
0