fix typo/thinko in list test

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
This commit is contained in:
Galen Charlton 2010-10-06 10:55:44 -04:00
parent 037686eff2
commit 01bf4aa658
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ for(my $i=0; $i<10;$i++){
my $shelfnumber = $shelves[int(rand(9))];
my $key = "$bib\t$shelfnumber";
my $should_fail if exists $used{$key};
my $should_fail = exists($used{$key}) ? 1 : 0;
my ($biblistBefore,$countbefore) = GetShelfContents($shelfnumber);
my $status = AddToShelf($bib,$shelfnumber);