summaryrefslogtreecommitdiff
path: root/dist/Math-BigInt/t/require.t
diff options
context:
space:
mode:
Diffstat (limited to 'dist/Math-BigInt/t/require.t')
-rw-r--r--dist/Math-BigInt/t/require.t9
1 files changed, 2 insertions, 7 deletions
diff --git a/dist/Math-BigInt/t/require.t b/dist/Math-BigInt/t/require.t
index eab33b967b..66d9687a13 100644
--- a/dist/Math-BigInt/t/require.t
+++ b/dist/Math-BigInt/t/require.t
@@ -3,18 +3,13 @@
# check that simple requiring BigInt works
use strict;
-use Test;
-
-BEGIN
- {
- plan tests => 1;
- }
+use Test::More tests => 1;
my ($x);
require Math::BigInt; $x = Math::BigInt->new(1); ++$x;
-ok ($x||'undef',2);
+is ($x,2);
# all tests done