projects
/
gitmo/Moo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Silence warning in pre-5.8.3 weaken test
[gitmo/Moo.git]
/
t
/
accessor-weaken-pre-5_8_3.t
diff --git
a/t/accessor-weaken-pre-5_8_3.t
b/t/accessor-weaken-pre-5_8_3.t
index
8505a48
..
a0f9b1d
100644
(file)
--- a/
t/accessor-weaken-pre-5_8_3.t
+++ b/
t/accessor-weaken-pre-5_8_3.t
@@
-1,9
+1,7
@@
use strictures 1;
-use Moo::_Utils;
BEGIN {
- no warnings 'redefine';
- *Moo::_Utils::lt_5_8_3 = sub () { 1 };
+ $ENV{MOO_TEST_PRE_583} = 1;
}
(my $real_test = __FILE__) =~ s/-pre-5_8_3//;