agjohnson/csistck

Script check does not pass additional arguments

Closed this issue · 0 comments

Script test short syntax does not pass arguments to Csistck::Test.

my $t_args = (ref($args) eq "ARRAY") ?
        { args => $args } :
        { args => [$args] };

... should be:

my $t_args = (ref($args) eq "ARRAY") ?
        { args => $args, @_ } :
        { args => [$args] };

Likewise on other short syntax on other other tests