More specific diagnostic.
[ZOOM-Perl-moved-to-github.git] / t / 2-ZOOM.t
index 9ab96ee..6d107a3 100644 (file)
@@ -19,7 +19,7 @@ my $conn;
 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 : \$\@=$@");
 
 $host = "z3950.indexdata.com/gils";
 eval { $conn = new ZOOM::Connection($host, 0) };