projects
/
gitmo/Class-MOP.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
1b6576e
)
Shut up a warning from this test
Dave Rolsky [Mon, 15 Jun 2009 15:32:33 +0000 (10:32 -0500)]
t/310_immutable_destroy.t
patch
|
blob
|
blame
|
history
diff --git
a/t/310_immutable_destroy.t
b/t/310_immutable_destroy.t
index
100bbcf
..
0cae21f
100644
(file)
--- a/
t/310_immutable_destroy.t
+++ b/
t/310_immutable_destroy.t
@@
-9,7
+9,9
@@
SKIP: {
exit 0;
}
- eval <<'EOF';
+ {
+ local $SIG{__WARN__} = sub {};
+ eval <<'EOF';
package FooBar;
use Moose;
@@
-19,6
+21,7
@@
SKIP: {
__PACKAGE__->meta->make_immutable;
EOF
+ }
my $f = FooBar->new( name => 'SUSAN' );