File: 1_init.t

package info (click to toggle)
libimage-sane-perl 5-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 324 kB
  • sloc: perl: 2,714; ansic: 5; makefile: 3
file content (15 lines) | stat: -rw-r--r-- 347 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use Image::Sane ':all';
use Try::Tiny;
use Test::More tests => 1;

#########################

# the '.' was getting in the way of the argument stack in _init before pushmark
# and putback macros were added.
try {
    my $version = join( '.', Image::Sane->get_version );
    pass 'get_version as init';
}
catch {
    fail 'get_version as init';
};