use strict;
-use warnings;
+use warnings FATAL => 'all';
use Test::More tests => 2;
use Test::NoWarnings 1.04 ':early';
use strict;
-use warnings;
+use warnings FATAL => 'all';
use Test::More tests => 70;
use Test::Moose;
use strict;
-use warnings;
+use warnings FATAL => 'all';
use Test::More tests => 7;
use Test::NoWarnings 1.04 ':early';
use strict;
-use warnings;
+use warnings FATAL => 'all';
use Test::More tests => 6;
use Test::NoWarnings 1.04 ':early';
use strict;
-use warnings;
+use warnings FATAL => 'all';
use Test::More tests => 10;
use Test::Fatal 0.003;
use strict;
-use warnings;
+use warnings FATAL => 'all';
use Test::More tests => 11;
use Test::Fatal;
use strict;
-use warnings;
+use warnings FATAL => 'all';
use Test::More tests => 70;
use Test::Moose;
use strict;
-use warnings;
+use warnings FATAL => 'all';
use Test::More tests => 10;
use Test::Fatal;
use strict;
-use warnings;
+use warnings FATAL => 'all';
use Test::Requires 'MooseX::ConfigFromFile'; # skip all if not installed
use Test::More tests => 56;
use strict;
-use warnings;
+use warnings FATAL => 'all';
use Test::More tests => 6;
use Test::Fatal;
use strict;
-use warnings;
+use warnings FATAL => 'all';
use Test::More tests => 8;
use Test::Fatal;
use strict;
-use warnings;
+use warnings FATAL => 'all';
use Test::More tests => 7;
use Test::Fatal 0.003;
use strict;
-use warnings;
+use warnings FATAL => 'all';
use Test::More tests => 6;
use Test::NoWarnings 1.04 ':early';
use strict;
-use warnings;
+use warnings FATAL => 'all';
use Test::More tests => 4;
use Test::NoWarnings 1.04 ':early';
use strict;
-use warnings;
+use warnings FATAL => 'all';
use Test::More tests => 70;
use Test::Moose;
use strict;
-use warnings;
+use warnings FATAL => 'all';
use Test::More tests => 4;
use Test::NoWarnings 1.04 ':early';
use strict;
-use warnings;
+use warnings FATAL => 'all';
use Test::More tests => 7;
use Test::Trap;
use strict;
-use warnings;
+use warnings FATAL => 'all';
use Test::More tests => 13;
use Test::NoWarnings 1.04 ':early';
use strict;
-use warnings;
+use warnings FATAL => 'all';
use Test::More tests => 22;
use Test::NoWarnings 1.04 ':early';
# when --help is passed (and MooseX::ConfigFromFile is in use).
use strict;
-use warnings;
+use warnings FATAL => 'all';
use Test::Requires { 'MooseX::SimpleConfig' => 0.07 }; # skip all if not installed
use Test::More tests => 2;
my $fail_on_exit = 1;
{
package Class;
- use strict; use warnings;
+ use strict; use warnings FATAL => 'all';
use Moose;
with
use strict;
-use warnings;
+use warnings FATAL => 'all';
use Test::More tests => 6;
use Test::NoWarnings 1.04 ':early';
# This tests the fix (that fulfills the documentation claim).
-use strict; use warnings;
+use strict; use warnings FATAL => 'all';
use Test::More tests => 4;
use Test::NoWarnings 1.04 ':early';
{
package MyClass;
- use strict; use warnings;
+ use strict; use warnings FATAL => 'all';
use Moose;
with 'MooseX::Getopt';
}
# Update: since 0.41, usage info is printed to stdout, not stderr.
-use strict; use warnings;
+use strict; use warnings FATAL => 'all';
use Test::More tests => 23;
use Test::NoWarnings 1.04 ':early';
use Test::Trap;
{
package MyClass;
- use strict; use warnings;
+ use strict; use warnings FATAL => 'all';
use Moose;
with 'MooseX::Getopt';
}
# early), followed by options added by parent classes and roles, and then
# options added by this class.
-use strict; use warnings;
+use strict; use warnings FATAL => 'all';
use Test::More tests => 2;
use Test::NoWarnings 1.04 ':early';
{
package MyClass;
- use strict; use warnings;
+ use strict; use warnings FATAL => 'all';
use Moose;
with 'MooseX::Getopt';
use strict;
-use warnings;
+use warnings FATAL => 'all';
use Test::More tests => 6;
use Test::NoWarnings 1.04 ':early';
use strict;
-use warnings;
+use warnings FATAL => 'all';
# respect the configfile value passed into the constructor.