From 299f88e2fe588be274927a8fe2c436631fa119db Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 8 Jun 2010 14:56:14 +0100 Subject: [PATCH] More specific diagnostic. --- 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 d530145..f8b921c 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"); + "connection to non-existent host '$host' fails: \$\@=$@"); $host = "z3950.indexdata.com/gils"; $conn = Net::Z3950::ZOOM::connection_new($host, 0); -- 1.7.10.4