report missing marc_remove
[webpac2] / t / 2-input-isi.t
index 4dc3aca..289e8f8 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/perl -w
 
 use strict;
-use blib;
+use lib 'lib';
 
 use Test::More tests => 12;
 
@@ -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");