projects
/
Biblio-RFID.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
load RFID501 module since we are using to_hash
[Biblio-RFID.git]
/
t
/
10-3M-810.t
diff --git
a/t/10-3M-810.t
b/t/10-3M-810.t
index
1099a21
..
b2bcc0e
100755
(executable)
--- a/
t/10-3M-810.t
+++ b/
t/10-3M-810.t
@@
-6,13
+6,13
@@
use Data::Dump qw(dump);
use lib 'lib';
BEGIN {
use lib 'lib';
BEGIN {
- use_ok( '
RFID::Biblio
::Reader::3M810' );
+ use_ok( '
Biblio::RFID
::Reader::3M810' );
}
}
-ok( my $o =
RFID::Biblio
::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;
@@
-34,7
+34,4
@@
foreach my $tag ( @tags ) {
}
}
-ok( my $visible = $o->scan, 'scan' );
-diag dump $visible;
-
done_testing();
done_testing();