projects
/
Biblio-RFID.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rename module to Biblio::RFID
[Biblio-RFID.git]
/
t
/
20-CPR-M02.t
diff --git
a/t/20-CPR-M02.t
b/t/20-CPR-M02.t
index
4e2278c
..
ca225a4
100755
(executable)
--- a/
t/20-CPR-M02.t
+++ b/
t/20-CPR-M02.t
@@
-6,12
+6,13
@@
use Data::Dump qw(dump);
use lib 'lib';
BEGIN {
use lib 'lib';
BEGIN {
- use_ok( '
RFID::Biblio
::CPRM02' );
+ use_ok( '
Biblio::RFID::Reader
::CPRM02' );
}
}
-ok( my $o =
RFID::Biblio
::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 ) {
foreach my $tag ( @tags ) {
@@
-27,7
+28,4
@@
foreach my $tag ( @tags ) {
}
}
-ok( my $visible = $o->scan, 'scan' );
-diag dump $visible;
-
done_testing;
done_testing;