projects
/
catagits/Catalyst-Runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
9d71883
)
no redefine warnings for test
André Walker [Fri, 29 Jul 2011 22:54:25 +0000 (19:54 -0300)]
t/aggregate/unit_core_mvc.t
patch
|
blob
|
blame
|
history
diff --git
a/t/aggregate/unit_core_mvc.t
b/t/aggregate/unit_core_mvc.t
index
c6f9eee
..
2905838
100644
(file)
--- a/
t/aggregate/unit_core_mvc.t
+++ b/
t/aggregate/unit_core_mvc.t
@@
-2,7
+2,10
@@
use Test::More;
use strict;
use warnings;
-*Catalyst::Utils::ensure_class_loaded = sub { };
+{
+ no warnings 'redefine';
+ *Catalyst::Utils::ensure_class_loaded = sub { };
+}
use Moose::Meta::Class;