summaryrefslogtreecommitdiff
path: root/cpan/Math-BigInt/t/req_mbfi.t
diff options
context:
space:
mode:
Diffstat (limited to 'cpan/Math-BigInt/t/req_mbfi.t')
-rw-r--r--cpan/Math-BigInt/t/req_mbfi.t11
1 files changed, 8 insertions, 3 deletions
diff --git a/cpan/Math-BigInt/t/req_mbfi.t b/cpan/Math-BigInt/t/req_mbfi.t
index 1ea5224c23..9db1e9ab84 100644
--- a/cpan/Math-BigInt/t/req_mbfi.t
+++ b/cpan/Math-BigInt/t/req_mbfi.t
@@ -1,10 +1,15 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
-# check that simple requiring BigFloat and then binf() works
+# check that simple requiring Math::BigFloat and then binf() works
use strict;
+use warnings;
+
use Test::More tests => 1;
-require Math::BigFloat; my $x = Math::BigFloat->binf(); is ($x,'inf');
+require Math::BigFloat;
+
+my $x = Math::BigFloat->binf();
+is($x, 'inf', '$x is inf');
# all tests done