]> git.imager.perl.org - imager.git/blame - t/tr18561.t
use PerlIO_* calls to read/write if supplied a fh
[imager.git] / t / tr18561.t
CommitLineData
5daa8f70
TC
1#!perl -w
2# regression test for RT issue 18561
3#
4use strict;
5use Test::More tests => 1;
6eval {
7 use Imager;
8
9 my $i = Imager->new(
10 xsize => 50,
11 ysize => 50,
12 );
13
14 $i->setpixel(
15 x => 10,
16 y => 10,
17 color => [0, 0, 0],
18 );
19};
20ok(!$@, "shouldn't crash")
21 or print "# $@\n";