Skip to content

Commit

Permalink
skip this test on 5.8 (and give it a description)
Browse files Browse the repository at this point in the history
  • Loading branch information
doy committed Jan 4, 2013
1 parent ab3cb69 commit 90d87eb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion t/edge-cases.t
Expand Up @@ -89,9 +89,12 @@ SKIP: {
}

{
local $TODO = $] < 5.010
? "undef scalars aren't visible on 5.8"
: undef;
my $stash = Package::Stash->new('Baz');
$stash->add_symbol('$baz', \undef);
ok($stash->has_symbol('$baz'));
ok($stash->has_symbol('$baz'), "immortal scalars are also visible");
}

done_testing;

0 comments on commit 90d87eb

Please sign in to comment.