mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 09:37:46 +08:00
320cb6857f
Specifically, an invalid flag keeps the function from being defined but does not emit an error message. Fixes #2827
25 lines
337 B
Plaintext
25 lines
337 B
Plaintext
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
|