fish-shell/tests/function.out
Kurtis Rader bb344bbd8f replace another custom show with the util func
Replace the `show_ary` function with the `show` test utility function.
2017-07-19 22:42:52 -07:00

33 lines
654 B
Text

Testing -V
$foo count=1
$foo[1]=|local foo|
$bar count=5
$bar[1]=|one|
$bar[2]=|two 2|
$bar[3]=| |
$bar[4]=||
$bar[5]=|3|
$baz count=0
Testing -V with changed variables
$foo count=1
$foo[1]=|local foo|
$bar count=5
$bar[1]=|one|
$bar[2]=|two 2|
$bar[3]=| |
$bar[4]=||
$bar[5]=|3|
$baz count=0
Function name1 found
Function name2 not found as expected
Function name3 found
Function name4 not found as expected
Checking that the copied functions are identical other than the name
1c1
< function name1 --argument arg1 arg2
---
> function name1a --argument arg1 arg2
1c1
< function name3 --argument arg1 arg2
---
> function name3a --argument arg1 arg2