projects
/
gitmo/Package-Stash-XS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
d551a20
)
one more leak test, just in case
Jesse Luehrs [Sun, 14 Nov 2010 03:39:26 +0000 (21:39 -0600)]
t/20-leaks.t
patch
|
blob
|
blame
|
history
diff --git
a/t/20-leaks.t
b/t/20-leaks.t
index
7d3f5eb
..
0f46df5
100644
(file)
--- a/
t/20-leaks.t
+++ b/
t/20-leaks.t
@@
-153,4
+153,11
@@
use Symbol;
} "get_symbol doesn't leak during glob expansion";
}
+{
+ my $foo = Package::Stash->new('Foo');
+ no_leaks_ok {
+ eval { $foo->get_or_add_symbol('&blorg') };
+ } "doesn't leak on errors";
+}
+
done_testing;