projects
/
Biblio-Z3950.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup output
[Biblio-Z3950.git]
/
t
/
2-Aleph.t
diff --git
a/t/2-Aleph.t
b/t/2-Aleph.t
index
e14d48e
..
aeb20a2
100755
(executable)
--- a/
t/2-Aleph.t
+++ b/
t/2-Aleph.t
@@
-3,7
+3,7
@@
use warnings;
use strict;
use warnings;
use strict;
-use Test::More tests =>
4
;
+use Test::More tests =>
6
;
use_ok 'Aleph';
use_ok 'Aleph';
@@
-12,5
+12,9
@@
ok( my $o = Aleph->new, 'new' );
ok( my $hits = $o->search( 'WTI=linux' ), 'search' );
diag "$hits results";
ok( my $hits = $o->search( 'WTI=linux' ), 'search' );
diag "$hits results";
-ok( my $marc = $o->next_marc, 'next_marc' );
+foreach ( 1 .. 3 ) {
+
+ok( my $marc = $o->next_marc, "next_marc $_" );
diag $marc;
diag $marc;
+
+}