use first argument to test as filter
authorDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 6 Aug 2010 15:30:35 +0000 (17:30 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 6 Aug 2010 15:30:35 +0000 (17:30 +0200)
t/50-Readers.t

index 38a5971..175dcc4 100755 (executable)
@@ -9,7 +9,7 @@ BEGIN {
        use_ok( 'RFID::Biblio::Readers' );
 }
 
-ok( my $o = RFID::Biblio::Readers->new, 'new' );
+ok( my $o = RFID::Biblio::Readers->new( shift @ARGV ), 'new' );
 
 ok( my @tags = $o->inventory, 'inventory' );
 diag dump @tags;