projects
/
ZOOM-Perl-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Downgrace required version of XML::LibXML to 1.58
[ZOOM-Perl-moved-to-github.git]
/
t
/
15-scan.t
diff --git
a/t/15-scan.t
b/t/15-scan.t
index
f894513
..
0885cf3
100644
(file)
--- a/
t/15-scan.t
+++ b/
t/15-scan.t
@@
-1,5
+1,3
@@
-# $Id: 15-scan.t,v 1.14 2007-08-16 17:19:35 mike Exp $
-
# Before `make install' is performed this script should be runnable with
# `make test'. After `make install' it should work as `perl 15-scan.t'
# Before `make install' is performed this script should be runnable with
# `make test'. After `make install' it should work as `perl 15-scan.t'
@@
-16,6
+14,7
@@
my $conn = Net::Z3950::ZOOM::connection_new($host, 0);
$errcode = Net::Z3950::ZOOM::connection_error($conn, $errmsg, $addinfo);
ok($errcode == 0, "connection to '$host'");
$errcode = Net::Z3950::ZOOM::connection_error($conn, $errmsg, $addinfo);
ok($errcode == 0, "connection to '$host'");
+Net::Z3950::ZOOM::connection_option_set($conn, number => 10);
my($ss, $n) = scan($conn, 0, "w", 10);
my @terms = ();
my($ss, $n) = scan($conn, 0, "w", 10);
my @terms = ();
@@
-127,6
+126,6
@@
sub scan {
my $n = Net::Z3950::ZOOM::scanset_size($ss);
ok(defined $n, "got size");
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);
}
return ($ss, $n);
}