File tree 1 file changed +6
-8
lines changed
1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -134,15 +134,13 @@ task test6 => sub {
134
134
};
135
135
136
136
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/ );
143
141
144
142
145
- for my $task ( $run_list -> tasks ) {
143
+ for my $task ( $run_list -> tasks ) {
146
144
my $name =$task -> name;
147
145
my %prms =(" ${name} _greet" => " Hello ${name} " );
148
146
my @args =(" ${name} .arg.0" , " ${name} .arg.1" , " ${name} .arg.2" );
@@ -152,7 +150,7 @@ TODO: {
152
150
my @summary = $task_list -> get_summary;
153
151
is_deeply $summary [-1]-> {exit_code }, 0, $task -> name;
154
152
$run_list -> increment_current_index;
155
- }
153
+ }
156
154
}
157
155
158
156
You can’t perform that action at this time.
0 commit comments