summaryrefslogtreecommitdiff
path: root/t/clone.t
diff options
context:
space:
mode:
authorJames Raspass <jraspass@gmail.com>2022-08-21 20:48:21 +0100
committerOlaf Alders <olaf@wundersolutions.com>2022-08-22 08:26:51 -0400
commitd58d34967abc31ad7d22a71aa5e15d407d77799a (patch)
tree68fb1ea013aa4f496a9267260e38b533146572c6 /t/clone.t
parent9cc1f62cb927c7a022f3f3b0d30c6e3f9a06a924 (diff)
downloaduri-d58d34967abc31ad7d22a71aa5e15d407d77799a.tar.gz
Replace raw TAP printing with "Test::More"
Diffstat (limited to 't/clone.t')
-rw-r--r--t/clone.t8
1 files changed, 3 insertions, 5 deletions
diff --git a/t/clone.t b/t/clone.t
index 6eb15eb..f80091c 100644
--- a/t/clone.t
+++ b/t/clone.t
@@ -1,7 +1,7 @@
use strict;
use warnings;
-print "1..2\n";
+use Test::More tests => 2;
use URI::URL ();
@@ -14,8 +14,6 @@ $u1->base("http://yyy/");
#use Data::Dump; Data::Dump::dump($b, $u1, $u2);
-print "not " unless $u1->abs->as_string eq "http://yyy/foo";
-print "ok 1\n";
+is $u1->abs->as_string, "http://yyy/foo";
-print "not " unless $u2->abs->as_string eq "http://www/foo";
-print "ok 2\n";
+is $u2->abs->as_string, "http://www/foo";