use strict;
use warnings;
-use Test::More tests => (2 * 21 + 7) + (2 * 5 + 4) + 1;
+use Test::More tests => (2 * 21 + 7) + (2 * 5 + 5) + 1;
use Variable::Magic qw/cast dispell MGf_COPY VMG_UVAR/;
}
if ($SKIP) {
$SKIP .= ' required to test uvar/clear interaction fix';
- skip $SKIP => 2 * 5 + 4;
+ skip $SKIP => 2 * 5 + 5;
}
my $bd = B::Deparse->new;
watch { %h = () } { clear => 1 }, 'fixed clear';
watch { dispell %h, $wiz } { }, 'dispell clear/uvar';
+
+ require B;
+ ok(!(B::svref_2object(\%h)->FLAGS & B::SVs_RMG()), '%h no longer has the RMG flag set');
}