From: Mike Taylor Date: Tue, 8 Jun 2010 14:26:03 +0000 (+0100) Subject: More information in scan diagnostics X-Git-Tag: CPAN_1_26~8 X-Git-Url: http://git.indexdata.com/?p=ZOOM-Perl-moved-to-github.git;a=commitdiff_plain;h=40205a3923522999ca96aa0e57e013cb12db7e29 More information in scan diagnostics --- diff --git a/t/15-scan.t b/t/15-scan.t index f894513..7bbbd69 100644 --- a/t/15-scan.t +++ b/t/15-scan.t @@ -127,6 +127,6 @@ sub scan { my $n = Net::Z3950::ZOOM::scanset_size($ss); ok(defined $n, "got size"); - ok($n == $nexpected, "got $n terms (expected $nexpected)"); + ok($n == $nexpected, "got $n terms '$startterm' (expected $nexpected)"); return ($ss, $n); } diff --git a/t/25-scan.t b/t/25-scan.t index a6da292..145fa1a 100644 --- a/t/25-scan.t +++ b/t/25-scan.t @@ -115,6 +115,6 @@ sub scan { my $n = $ss->size(); ok(defined $n, "got size"); - ok($n == $nexpected, "got $n terms (expected $nexpected)"); + ok($n == $nexpected, "got $n terms for '$startterm' (expected $nexpected)"); return ($ss, $n); }