Debian Codegraph @

ICO/t/t72cursing.t

raw
1 #!perl -w
2 use strict;
3 use Test::More tests => 1;
4 use Imager;
5 use Imager::Test qw(test_image);
6
7 -d "testout" or mkdir "testout";
8
9 # checks that we load the CUR write handler automatically
10 my $img = test_image();
11 ok($img->write(file => 'testout/cursing.cur'),
12 "write cur with autoload")
13 or print "# ",$img->errstr,"\n";