Debian Codegraph @

t/warnings.t

raw symbols SCIP
1 use strict;
2 use Test::More;
3
4 my $warnings;
5
6 BEGIN {
7 $^W = 1;
8 $warnings = 0;
9 $SIG{__WARN__} = sub { $warnings++ };
10 }
11
12 use Math::Vector::Real;
13
14 BEGIN { undef $SIG{__WARN__} }
15
16 is($warnings, 0, '0 warnings');
17
18 done_testing;
19