File: jpg_ignore_thumbnail.t

package info (click to toggle)
libimage-info-perl 1.45-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 940 kB
  • sloc: perl: 3,539; makefile: 12
file content (12 lines) | stat: -rw-r--r-- 265 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
use strict;
use warnings;

use FindBin qw( $Bin );
use Test::More tests => 1;

use Image::Info;

{
  my $info = Image::Info::image_info("$Bin/../img/no-thumbnail.jpg");
  ok( ! $info->{error}, "no error on bad thumbnail" ) or diag( "Got Error: $info->{error}" );
}