Revision 8f026780
Von Sven Schöling vor fast 13 Jahren hinzugefügt
t/controllers/helpers/parse_filter.t | ||
---|---|---|
16 | 16 |
my ($filter, $expect, $msg, %params) = @_; |
17 | 17 |
my $target = delete $params{target}; |
18 | 18 |
my $args = { parse_filter($filter, %params) }; |
19 |
my $got = $args; |
|
19 |
my $got = $args; $target ||= '';
|
|
20 | 20 |
$got = $filter if $target =~ /filter/; |
21 | 21 |
$got = $params{launder_to} if $target =~ /launder/; |
22 | 22 |
cmp_deeply( |
Auch abrufbar als: Unified diff
Warning in tests unterdrücken.