Subject: | bug in example in Test::ParallelSubtest |
Date: | Fri, 14 Oct 2011 02:02:48 -0500 |
To: | <bug-Test-ParallelSubtest [...] rt.cpan.org> |
From: | <Ram_Dhakne [...] Dell.com> |
subtest foo => sub {
plan tests => 1;
ok 1, 'foo inner';
};
ok 1 'bar';
# prints:
# 1..1
# ok 1 - foo inner
# ok 1 - foo
# ok 2 - bar
Should be
subtest foo => sub {
plan tests => 1;
ok 1, 'foo inner';
};
ok 1, 'bar';
# prints:
# 1..1
# ok 1 - foo inner
# ok 1 - foo
# ok 2 - bar
Same correction is needed at other example
bg_subtest foo => sub {
plan tests => 1;
ok 1, 'foo inner';
};
ok 1 'bar';
Should be
bg_subtest foo => sub {
plan tests => 1;
ok 1, 'foo inner';
};
ok 1, 'bar';
Ram
Dell | Enterprise Product Group
909 Hermosa Court | Sunnyvale, CA 94085
Message body is not shown because it is too large.