From 520f29d6a96684ce7a681e07084ee1f0c90bc67e Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 13 Nov 2010 21:47:02 -0600 Subject: one more todo --- t/20-leaks.t | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/20-leaks.t b/t/20-leaks.t index 0f46df5..2439cc4 100644 --- a/t/20-leaks.t +++ b/t/20-leaks.t @@ -122,7 +122,9 @@ use Symbol; @{$foo->get_or_add_symbol('@ISA')} = @super; $foo->get_or_add_symbol('$glob'); } "get_or_add_symbol doesn't leak"; + { local $TODO = $] < 5.010 ? "undef scalars aren't visible on 5.8" : undef; ok($foo->has_symbol('$glob')); + } is(ref($foo->get_symbol('$glob')), 'SCALAR'); ok($foo->has_symbol('@ISA')); is(ref($foo->get_symbol('@ISA')), 'ARRAY'); -- cgit v1.2.3-54-g00ecf