From c0f4fac214101d6c490889e88fc036b5efa933d1 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 8 Jun 2010 15:08:31 +0100 Subject: [PATCH] Appropriate low-level diagnostics. --- t/1-Net-Z3950-ZOOM.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.7.10.4