7 use Test::Builder::NoOutput;
9 my $tb = Test::Builder::NoOutput->create;
12 # Normalize test output
13 local $ENV{HARNESS_ACTIVE};
25 my $Test = Test::Builder->new;
26 $Test->plan( tests => 1 );
28 $Test->is_eq($tb->read, <<"END", "multiple done_testing");
33 not ok 4 - done_testing() was already called at $0 line 24
34 # Failed test 'done_testing() was already called at $0 line 24'
36 not ok 5 - done_testing() was already called at $0 line 24
37 # Failed test 'done_testing() was already called at $0 line 24'