don't report errors without tags in range
authorDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 6 Aug 2010 19:19:11 +0000 (21:19 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 6 Aug 2010 19:19:11 +0000 (21:19 +0200)
t/30-librfid.t

index 5211c1f..7182cf0 100755 (executable)
@@ -11,8 +11,8 @@ BEGIN {
 
 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;
+my @tags = $o->inventory;
+diag 'inventory = ', dump @tags;
 
 my $old_afi;
 
@@ -34,7 +34,4 @@ foreach my $tag ( @tags ) {
 
 }
 
-ok( my $visible = $o->scan, 'scan' );
-diag dump $visible;
-
 done_testing;