Skip to content

Commit 1ad99f4

Browse files
committed
Remove TODO markers from related tests following the fix for RexOps#1508
1 parent 0ff8806 commit 1ad99f4

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

t/issue/1508.needs_arg-propagation.tau.t

+6-8
Original file line numberDiff line numberDiff line change
@@ -134,15 +134,13 @@ task test6 => sub {
134134
};
135135

136136

137-
TODO: {
138-
local $TODO = "Fix #1508: needs() should propogate current task parameters/args";
139-
140-
my $task_list = Rex::TaskList->create;
141-
my $run_list = Rex::RunList->instance;
142-
$run_list->parse_opts(qw/test test2 test3 test5 test6/);
137+
{
138+
my $task_list = Rex::TaskList->create;
139+
my $run_list = Rex::RunList->instance;
140+
$run_list->parse_opts(qw/test test2 test3 test5 test6/);
143141

144142

145-
for my $task ( $run_list->tasks ) {
143+
for my $task ( $run_list->tasks ) {
146144
my $name=$task->name;
147145
my %prms=("${name}_greet" => "Hello ${name}");
148146
my @args=("${name}.arg.0", "${name}.arg.1", "${name}.arg.2");
@@ -152,7 +150,7 @@ TODO: {
152150
my @summary = $task_list->get_summary;
153151
is_deeply $summary[-1]->{exit_code}, 0, $task->name;
154152
$run_list->increment_current_index;
155-
}
153+
}
156154
}
157155

158156

0 commit comments

Comments
 (0)