don't fail without tags in range
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 25 Aug 2010 17:28:05 +0000 (19:28 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 25 Aug 2010 17:28:05 +0000 (19:28 +0200)
t/10-3M-810.t

index 6476aca..b2bcc0e 100755 (executable)
@@ -11,8 +11,8 @@ BEGIN {
 
 ok( my $o = Biblio::RFID::Reader::3M810->new( device => '/dev/ttyUSB0' ), 'new' );
 
 
 ok( my $o = Biblio::RFID::Reader::3M810->new( device => '/dev/ttyUSB0' ), 'new' );
 
-ok( my @tags = $o->inventory, 'inventory' );
-diag dump @tags;
+my @tags = $o->inventory;
+diag 'inventory ',join(' ',@tags);
 
 my $old_afi;
 
 
 my $old_afi;