X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=t%2F2-input-isi.t;h=289e8f806d2708160aebf0db275f20908208b02f;hb=db4dde137c6ecf6a38fc3e37a95364999b04ee5a;hp=c98774952c46cec31c9a433148577656c6d63f7c;hpb=3e2e5e0538a0b48c731d2d7f1358fea89c03f9b2;p=webpac2 diff --git a/t/2-input-isi.t b/t/2-input-isi.t index c987749..289e8f8 100755 --- a/t/2-input-isi.t +++ b/t/2-input-isi.t @@ -29,7 +29,7 @@ cmp_ok( $size, '==', 3, 'size ok' ); foreach my $mfn ( 1 ... $size ) { my $rec = $input->fetch; - ok( $rec->{TI}, 'TI' ); + ok( exists($rec->{TI}), 'TI' ); cmp_ok($input->pos, '==', $mfn, "pos $mfn");