diff options
author | Olaf Alders <olaf@wundersolutions.com> | 2021-01-29 16:17:32 -0500 |
---|---|---|
committer | Olaf Alders <olaf@wundersolutions.com> | 2021-01-29 17:51:02 -0500 |
commit | 5ffb78e7a4636044bde9ecef356517b5b1602f4d (patch) | |
tree | 6446b052736313068cf0daab803ff35bd3310f82 /t/rtsp.t | |
parent | f4e8c8ce2cfe7c1498f65ee46b5e01db8037a94d (diff) | |
download | uri-5ffb78e7a4636044bde9ecef356517b5b1602f4d.tar.gz |
s/perl.com/example.com/ in examples and tests
Diffstat (limited to 't/rtsp.t')
-rw-r--r-- | t/rtsp.t | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -5,10 +5,10 @@ print "1..9\n"; use URI (); -my $u = URI->new("<rtsp://media.perl.com/fôo.smi/>"); +my $u = URI->new("<rtsp://media.example.com/fôo.smi/>"); #print "$u\n"; -print "not " unless $u eq "rtsp://media.perl.com/f%F4o.smi/"; +print "not " unless $u eq "rtsp://media.example.com/f%F4o.smi/"; print "ok 1\n"; print "not " unless $u->port == 554; @@ -16,22 +16,22 @@ print "ok 2\n"; # play with port my $old = $u->port(8554); -print "not " unless $old == 554 && $u eq "rtsp://media.perl.com:8554/f%F4o.smi/"; +print "not " unless $old == 554 && $u eq "rtsp://media.example.com:8554/f%F4o.smi/"; print "ok 3\n"; $u->port(554); -print "not " unless $u eq "rtsp://media.perl.com:554/f%F4o.smi/"; +print "not " unless $u eq "rtsp://media.example.com:554/f%F4o.smi/"; print "ok 4\n"; $u->port(""); -print "not " unless $u eq "rtsp://media.perl.com:/f%F4o.smi/" && $u->port == 554; +print "not " unless $u eq "rtsp://media.example.com:/f%F4o.smi/" && $u->port == 554; print "ok 5\n"; $u->port(undef); -print "not " unless $u eq "rtsp://media.perl.com/f%F4o.smi/"; +print "not " unless $u eq "rtsp://media.example.com/f%F4o.smi/"; print "ok 6\n"; -print "not " unless $u->host eq "media.perl.com"; +print "not " unless $u->host eq "media.example.com"; print "ok 7\n"; print "not " unless $u->path eq "/f%F4o.smi/"; |