projects
/
gitmo/Package-Stash-PP.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
cache the ref to the stash
[gitmo/Package-Stash-PP.git]
/
t
/
02-extension.t
diff --git
a/t/02-extension.t
b/t/02-extension.t
index
2f95f15
..
f639cfa
100644
(file)
--- a/
t/02-extension.t
+++ b/
t/02-extension.t
@@
-13,8
+13,11
@@
use Test::Exception;
use Symbol 'gensym';
- sub namespace {
- $_[0]->{namespace} ||= {}
+ sub new {
+ my $class = shift;
+ my $self = $class->SUPER::new(@_);
+ $self->{namespace} = {};
+ return $self;
}
sub add_package_symbol {