X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=t%2F30-librfid.t;h=7182cf05703647534b4c952d5ee96fad79edb78d;hb=ff5d9ac7eb9c61d16b50b5ccb031d6cd8967d983;hp=12e3e6a53e6d91a3067f9370bf6a8a950a5e9988;hpb=f2745331e3de510b2cc814217578774a7b5a6d17;p=Biblio-RFID.git diff --git a/t/30-librfid.t b/t/30-librfid.t index 12e3e6a..7182cf0 100755 --- a/t/30-librfid.t +++ b/t/30-librfid.t @@ -1,20 +1,18 @@ #!/usr/bin/perl -use Test::More tests => 3; +use Test::More; use Data::Dump qw(dump); use lib 'lib'; BEGIN { - use_ok( 'RFID::Biblio::librfid' ); + use_ok( 'RFID::Biblio::Reader::librfid' ); } -ok( my $o = RFID::Biblio::librfid->new( tool => '/rest/cvs/librfid/utils/librfid-tool' ), 'new' ); +ok( my $o = RFID::Biblio::Reader::librfid->new( tool => '/rest/cvs/librfid/utils/librfid-tool' ), 'new' ); -ok( my @tags = $o->inventory, 'inventory' ); -diag dump @tags; - -__END__ +my @tags = $o->inventory; +diag 'inventory = ', dump @tags; my $old_afi; @@ -36,6 +34,4 @@ foreach my $tag ( @tags ) { } -ok( my $visible = $o->scan, 'scan' ); -diag dump $visible; - +done_testing;