projects
/
gitmo/Mouse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Changelogging
[gitmo/Mouse.git]
/
t
/
202-squirrel-role.t
diff --git
a/t/202-squirrel-role.t
b/t/202-squirrel-role.t
index
dd6f7d9
..
22eb9bf
100644
(file)
--- a/
t/202-squirrel-role.t
+++ b/
t/202-squirrel-role.t
@@
-6,6
+6,10
@@
use warnings;
use Test::More;
use Scalar::Util 'blessed';
+BEGIN {
+ $SIG{__WARN__} = sub { warn $_[0] if $_[0] !~ /Squirrel is deprecated/ };
+}
+
do {
package Foo::Role;
use Squirrel::Role;