use strict;
use warnings;
-use Test::More 'no_plan';
+use Test::More;
{
package A;
sub bar {
::BAIL_OUT('B::bar called twice') if $main::seen{'B::bar'}++;
- return 'b' . super();
+ return 'b' . ( super() || '' );
}
override baz => sub {
is( C->new->foo, 'c' );
is( C->new->bar, 'cb' );
is( C->new->baz, 'cba' );
+
+done_testing;