- Switch to using Test::More
authorplobbes <plobbes>
Sun, 14 Jan 2007 19:40:06 +0000 (19:40 +0000)
committerplobbes <plobbes>
Sun, 14 Jan 2007 19:40:06 +0000 (19:40 +0000)
t/bop.t

diff --git a/t/bop.t b/t/bop.t
index 64332c5..504071e 100644 (file)
--- a/t/bop.t
+++ b/t/bop.t
@@ -1,5 +1,7 @@
-BEGIN { $| = 1; print "1..1\n"; }
-END {print "not ok 1\n" unless $loaded;}
-use Business::OnlinePayment;
-$loaded = 1;
-print "ok 1\n";
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+use Test::More tests => 1;
+
+use_ok("Business::OnlinePayment");