X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=t%2F2-Aleph.t;h=e88ec04ca8c80231e856ec5511caebcfb48debdb;hb=cba364e9e692ad963dfab0a0cf81ac06ad9a0bc7;hp=e14d48e17adb685d98abf930f97a05300e928aed;hpb=01987190f655eb7476e076f775c44575d85b8ef0;p=Biblio-Z3950.git diff --git a/t/2-Aleph.t b/t/2-Aleph.t index e14d48e..e88ec04 100755 --- a/t/2-Aleph.t +++ b/t/2-Aleph.t @@ -3,14 +3,18 @@ use warnings; use strict; -use Test::More tests => 4; +use Test::More tests => 6; use_ok 'Aleph'; -ok( my $o = Aleph->new, 'new' ); +ok( my $o = Aleph->new('ZAG01'), '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; + +}