Fix boolean false problem in the image extension tests.
This commit is contained in:
parent
636bde7131
commit
a4a1da4b19
1 changed files with 2 additions and 1 deletions
|
|
@ -105,7 +105,8 @@ cmp_bag($imageStore->getFiles(1), $expectedFiles, '... even when the allFiles sw
|
||||||
####################################################
|
####################################################
|
||||||
|
|
||||||
foreach my $extTest ( @{ $extensionTests } ) {
|
foreach my $extTest ( @{ $extensionTests } ) {
|
||||||
is( $imageStore->isImage($extTest->{filename}), $extTest->{isImage}, $extTest->{comment} );
|
my $isImage = $imageStore->isImage($extTest->{filename}) ? 1 : 0;
|
||||||
|
is( $isImage, $extTest->{isImage}, $extTest->{comment} );
|
||||||
}
|
}
|
||||||
|
|
||||||
####################################################
|
####################################################
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue