File: t20readone.t

package info (click to toggle)
libimager-perl 1.019%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,824 kB
  • sloc: perl: 32,886; ansic: 28,193; makefile: 52; cpp: 4
file content (10 lines) | stat: -rw-r--r-- 276 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
#!perl -w
use strict;
use Test::More tests => 1;
use Imager;

# checks that we load the ICO handler automatically
my $im = Imager->new;
ok($im->read(file => 'testimg/rgba3232.ico'),
   "check that icon reader loaded correctly for singles")
  or print "# ", $im->errstr, "\n";