diff options
author | James Raspass <jraspass@gmail.com> | 2022-08-21 20:48:21 +0100 |
---|---|---|
committer | Olaf Alders <olaf@wundersolutions.com> | 2022-08-22 08:26:51 -0400 |
commit | d58d34967abc31ad7d22a71aa5e15d407d77799a (patch) | |
tree | 68fb1ea013aa4f496a9267260e38b533146572c6 /t/clone.t | |
parent | 9cc1f62cb927c7a022f3f3b0d30c6e3f9a06a924 (diff) | |
download | uri-d58d34967abc31ad7d22a71aa5e15d407d77799a.tar.gz |
Replace raw TAP printing with "Test::More"
Diffstat (limited to 't/clone.t')
-rw-r--r-- | t/clone.t | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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"; |