mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-23 16:51:16 -03:00
Add test for empty function name.
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user