cleanup output
[Biblio-Z3950.git] / t / 2-Aleph.t
index e14d48e..aeb20a2 100755 (executable)
@@ -3,7 +3,7 @@
 use warnings;
 use strict;
 
-use Test::More tests => 4;
+use Test::More tests => 6;
 
 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 $marc = $o->next_marc, 'next_marc' );
+foreach ( 1 .. 3 ) {
+
+ok( my $marc = $o->next_marc, "next_marc $_" );
 diag $marc;
+
+}