X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=t%2F2-ZOOM.t;h=00039766eb4c4c9c613478e4fcbcd15ea34f4634;hb=5c8d12edf996f7f58dd7d4f0325a8d6dd712b669;hp=fcf7619b2ecff2f50ba23bd65b0c0e126b47dfb0;hpb=7e9c44e87b2950ef16bb530b9ec799cd022934a5;p=ZOOM-Perl-moved-to-github.git diff --git a/t/2-ZOOM.t b/t/2-ZOOM.t index fcf7619..0003976 100644 --- a/t/2-ZOOM.t +++ b/t/2-ZOOM.t @@ -1,4 +1,4 @@ -# $Id: 2-ZOOM.t,v 1.10 2006-10-10 16:50:38 mike Exp $ +# $Id: 2-ZOOM.t,v 1.12 2006-11-02 17:48:26 mike Exp $ # Before `make install' is performed this script should be runnable with # `make test'. After `make install' it should work as `perl 2-ZOOM.t' @@ -18,7 +18,7 @@ ok($@ && $@->isa("ZOOM::Exception") && $@->code() == ZOOM::Error::CONNECT && $@->addinfo() eq $host, "connection to non-existent host '$host' fails"); -$host = "indexdata.com/gils"; +$host = "z3950.indexdata.com/gils"; eval { $conn = new ZOOM::Connection($host, 0) }; ok(!$@, "connection to '$host'"); @@ -75,7 +75,7 @@ my $data = $rec->render(); ok($data =~ /^245 +\$a ISOTOPIC DATES OF ROCKS AND MINERALS$/m, "rendered record has expected title"); my $raw = $rec->raw(); -ok($raw =~ /^00981n/, "raw record contains expected header"); +ok($raw =~ /^00966n/, "raw record contains expected header"); $rs->destroy(); ok(1, "destroyed result-set");