fish-shell/tests/function.err
2017-04-11 20:00:29 -07:00

9 lines
287 B
Text

fish: function: Illegal function name '-a'
function -a arg1 arg2 name2 ; end
^
fish: function: Illegal function name '--argument-names'
function --argument-names arg1 arg2 name4 ; end
^
fish: function: Unexpected positional argument 'abc'
function name5 abc --argument-names def ; end
^