my $conn = Net::Z3950::ZOOM::connection_new($host, 0);
$errcode = Net::Z3950::ZOOM::connection_error($conn, $errmsg, $addinfo);
ok($errcode == Net::Z3950::ZOOM::ERROR_CONNECT && $addinfo eq $host,
- "connection to non-existent host '$host' fails: \$\@=$@");
+ "connection to non-existent host '$host' fails: \$conn=$conn, \$\@=$@");
$host = "z3950.indexdata.com/gils";
$conn = Net::Z3950::ZOOM::connection_new($host, 0);
eval { $conn = new ZOOM::Connection($host, 0) };
ok($@ && $@->isa("ZOOM::Exception") &&
$@->code() == ZOOM::Error::CONNECT && $@->addinfo() eq $host,
- "connection to non-existent host '$host' fails: \$\@=$@");
+ "connection to non-existent host '$host' fails: \$conn=$conn, \$\@=$@");
$host = "z3950.indexdata.com/gils";
eval { $conn = new ZOOM::Connection($host, 0) };