mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
320cb6857f
Specifically, an invalid flag keeps the function from being defined but does not emit an error message. Fixes #2827
24 lines
337 B
Text
24 lines
337 B
Text
Testing -V
|
|
$foo: (1)
|
|
1: 'local foo'
|
|
$bar: (5)
|
|
1: 'one'
|
|
2: 'two 2'
|
|
3: ' '
|
|
4: ''
|
|
5: '3'
|
|
$baz: (0)
|
|
Testing -V with changed variables
|
|
$foo: (1)
|
|
1: 'local foo'
|
|
$bar: (5)
|
|
1: 'one'
|
|
2: 'two 2'
|
|
3: ' '
|
|
4: ''
|
|
5: '3'
|
|
$baz: (0)
|
|
Function name1 found
|
|
Function name2 not found as expected
|
|
Function name3 found
|
|
Function name4 not found as expected
|