mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-29 16:09:35 +08:00
Add test for empty function name.
This commit is contained in:
parent
13e1e7e1e9
commit
91ebe12fc2
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…
x
Reference in New Issue
Block a user