fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Isaac Oscar GarianoOutput function argument-names in one group.7a07c0886

master
590 B35 linesraw
1#RUN: %fish %s
2
3function stuff --argument a b c
4    # This is a comment
5    echo stuff
6    # This is another comment
7end
8
9functions stuff
10#CHECK: # Defined in {{.*}}
11#CHECK: function stuff --argument-names a b c
12#CHECK:    # This is a comment
13#CHECK:    echo stuff
14#CHECK:    # This is another comment
15#CHECK: end
16
17function commenting
18
19    # line 2
20
21    # line 4
22
23    echo Bye bye says line 6
24end
25
26functions commenting
27#CHECK: # Defined in {{.*}}
28#CHECK: function commenting
29#CHECK:
30#CHECK:     # line 2
31#CHECK:
32#CHECK:     # line 4
33#CHECK:
34#CHECK:     echo Bye bye says line 6
35#CHECK: end