added _set_rec
[webpac2] / t / 2-input-ovid.t
index 990e2d1..afd2ccc 100755 (executable)
@@ -1,9 +1,9 @@
 #!/usr/bin/perl -w
 
 use strict;
-use blib;
+use lib 'lib';
 
-use Test::More tests => 63;
+use Test::More tests => 48;
 
 BEGIN {
 use_ok( 'WebPAC::Test' );
@@ -23,7 +23,7 @@ ok(my $db = $input->open(
        path => "$abs_path/data/ovid-cites.txt"
 ), "open");
 ok(my $size = $input->size, "size");
-cmp_ok( $size, '==', 95, 'size ok' );
+cmp_ok( $size, '==', 14, 'size ok' );
 
 foreach my $mfn ( 1 ... $size ) {
        my $rec = $input->fetch;