# Update: since 0.41, usage info is printed to stdout, not stderr.
-use strict; use warnings;
-use Test::More tests => 22;
+use strict;
+use warnings FATAL => 'all';
+use Test::More tests => 23;
+use Test::Warnings;
use Test::Trap;
{
package MyClass;
- use strict; use warnings;
+ use strict; use warnings FATAL => 'all';
use Moose;
with 'MooseX::Getopt';
}