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
Explicitly set scan term-count to 10 before first scan operation: should not be neces...
[ZOOM-Perl-moved-to-github.git]
/
t
/
15-scan.t
diff --git
a/t/15-scan.t
b/t/15-scan.t
index
7bbbd69
..
504cc76
100644
(file)
--- a/
t/15-scan.t
+++ b/
t/15-scan.t
@@
-16,6
+16,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 = ();