mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
Add test for empty function name.
This commit is contained in:
parent
13e1e7e1e9
commit
91ebe12fc2
4 changed files with 9 additions and 0 deletions
4
tests/test10.err
Normal file
4
tests/test10.err
Normal file
|
@ -0,0 +1,4 @@
|
|||
function: No function name given
|
||||
|
||||
fish: function ""
|
||||
^
|
3
tests/test10.in
Normal file
3
tests/test10.in
Normal file
|
@ -0,0 +1,3 @@
|
|||
function ""
|
||||
end
|
||||
echo Hello, world!
|
1
tests/test10.out
Normal file
1
tests/test10.out
Normal file
|
@ -0,0 +1 @@
|
|||
Hello, world!
|
1
tests/test10.status
Normal file
1
tests/test10.status
Normal file
|
@ -0,0 +1 @@
|
|||
0
|
Loading…
Reference in a new issue