-# $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'
$@->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'");
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");