From 1ad99f4d830bc45c3e3a2a5d61a899baa80af5e4 Mon Sep 17 00:00:00 2001 From: Tabulo Date: Mon, 27 Sep 2021 00:32:20 +0200 Subject: [PATCH] Remove TODO markers from related tests following the fix for #1508 --- t/issue/1508.needs_arg-propagation.tau.t | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/t/issue/1508.needs_arg-propagation.tau.t b/t/issue/1508.needs_arg-propagation.tau.t index f8306811c..f86141716 100644 --- a/t/issue/1508.needs_arg-propagation.tau.t +++ b/t/issue/1508.needs_arg-propagation.tau.t @@ -134,15 +134,13 @@ task test6 => sub { }; -TODO: { - local $TODO = "Fix #1508: needs() should propogate current task parameters/args"; - - my $task_list = Rex::TaskList->create; - my $run_list = Rex::RunList->instance; - $run_list->parse_opts(qw/test test2 test3 test5 test6/); +{ + my $task_list = Rex::TaskList->create; + my $run_list = Rex::RunList->instance; + $run_list->parse_opts(qw/test test2 test3 test5 test6/); - for my $task ( $run_list->tasks ) { + for my $task ( $run_list->tasks ) { my $name=$task->name; my %prms=("${name}_greet" => "Hello ${name}"); my @args=("${name}.arg.0", "${name}.arg.1", "${name}.arg.2"); @@ -152,7 +150,7 @@ TODO: { my @summary = $task_list->get_summary; is_deeply $summary[-1]->{exit_code}, 0, $task->name; $run_list->increment_current_index; - } + } }