From: Mike Taylor Date: Tue, 8 Jun 2010 14:08:31 +0000 (+0100) Subject: Appropriate low-level diagnostics. X-Git-Tag: CPAN_1_26~10 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=c0f4fac214101d6c490889e88fc036b5efa933d1;p=ZOOM-Perl-moved-to-github.git Appropriate low-level diagnostics. --- diff --git a/t/1-Net-Z3950-ZOOM.t b/t/1-Net-Z3950-ZOOM.t index f8296e6..74e3990 100644 --- a/t/1-Net-Z3950-ZOOM.t +++ b/t/1-Net-Z3950-ZOOM.t @@ -20,7 +20,7 @@ my $host = "no.such.host"; 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: \$conn=$conn, \$\@=$@"); + "connection to non-existent host '$host' fails: \$conn=$conn, errcode=$errcode, addinfo=$addinfo"); $host = "z3950.indexdata.com/gils"; $conn = Net::Z3950::ZOOM::connection_new($host, 0);