rename module to Biblio::RFID
[Biblio-RFID.git] / t / 20-CPR-M02.t
index 1fbf05c..ca225a4 100755 (executable)
@@ -6,12 +6,13 @@ use Data::Dump qw(dump);
 use lib 'lib';
 
 BEGIN {
-       use_ok( 'RFID::Biblio::Reader::CPRM02' );
+       use_ok( 'Biblio::RFID::Reader::CPRM02' );
 }
 
-ok( my $o = RFID::Biblio::Reader::CPRM02->new( device => '/dev/ttyUSB0' ), 'new' );
+ok( my $o = Biblio::RFID::Reader::CPRM02->new( device => '/dev/ttyUSB0' ), 'new' );
 
-ok( my @tags = $o->inventory, 'inventory' );
+my @tags = $o->inventory;
+diag 'inventory ',dump(@tags);
 
 foreach my $tag ( @tags ) {