use warnings;
use Test::More;
-use Mouse::Util 'blessed';
+use Scalar::Util 'blessed';
+
+# Don't spew deprecation warnings onto the user's screen
+BEGIN {
+ $SIG{__WARN__} = sub { warn $_[0] if $_[0] !~ /Squirrel is deprecated/ };
+}
do {
package Foo;
# affecting its definition
BEGIN {
- plan skip_all => "Moose required for this test" unless eval { require Moose };
+ plan skip_all => "Moose 0.68 required for this test" unless eval { require Moose && Moose->VERSION('0.68') };
plan tests => 12;
}