17 'in_global_destruction state is passed to DEMOLISH properly (false)'
35 'in_global_destruction state is passed to DEMOLISH properly (false)'
39 __PACKAGE__->meta->make_immutable;
48 my $blib = $INC{'blib.pm'} ? ' -Mblib ' : '';
49 my @status = `$^X $blib t/010_basics/020-global-destruction-helper.pl`;
51 ok $status[0], 'in_global_destruction state is passed to DEMOLISH properly (true)';
52 ok $status[1], 'in_global_destruction state is passed to DEMOLISH properly (true)';
54 is $?, 0, 'exited successfully';