-
-my ($out, $err) = capture {
- my $p;
- lives_ok { $p = Term::ProgressBar->new(10); } 'Count 1-10 (1)';
- lives_ok { $p->update($_) for 1..5 } 'Count 1-10 (2)';
- lives_ok { $p->message(MESSAGE1) } 'Count 1-10 (3)';
- lives_ok { $p->update($_) for 6..10 } 'Count 1-10 (4)';
-};
-print $out;
+{
+ my ($out, $err) = capture {
+ my $p;
+ lives_ok { $p = Term::ProgressBar->new(10); } 'Count 1-10 (1)';
+ lives_ok { $p->update($_) for 1..5 } 'Count 1-10 (2)';
+ lives_ok { $p->message($MESSAGE1) } 'Count 1-10 (3)';
+ lives_ok { $p->update($_) for 6..10 } 'Count 1-10 (4)';
+ };
+ print $out;