Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Oops. Wrong rendering made me believe it was 3
But the pod actually states 4 spaces per indent for subtests.
  • Loading branch information
lizmat committed May 15, 2014
1 parent 831b1d4 commit 2e49610
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Test.pm
Expand Up @@ -149,13 +149,13 @@ sub skip_rest($reason = '<unknown>') is export {
sub subtest(&subtests, $desc = '') is export {
_push_vars();
_init_vars();
$indents ~= " ";
$indents ~= " ";
subtests();
done() if !$done_testing_has_been_run;
my $status =
$num_of_tests_failed == 0 && $num_of_tests_planned == $num_of_tests_run;
_pop_vars;
$indents = $indents.chop.chop.chop;
$indents = $indents.chop(4);
proclaim($status,$desc);
}

Expand Down

0 comments on commit 2e49610

Please sign in to comment.