We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15dc100 commit c927b91Copy full SHA for c927b91
t/20_display.t
@@ -3,16 +3,20 @@
3
use strict;
4
use warnings;
5
6
-use Test::More tests => 39;
+use Test::More;
7
BEGIN { use_ok('GSAPI') };
8
9
use bytes;
10
11
+my $num_callbacks=0;
12
+
13
my( $width, $height, $raster, $format );
14
sub callback
15
{
16
my( $name, $handle, $device, @more ) = @_;
17
18
+ $num_callbacks++;
19
20
my $pimage;
21
if( @more and 1024 < length $more[-1] ) {
22
$pimage = pop @_;
@@ -117,3 +121,5 @@ pass( 'run_file' );
117
121
118
122
GSAPI::exit($gs);
119
123
pass( 'exit' );
124
125
+done_testing(41 + $num_callbacks);
0 commit comments