File: precious.t

package info (click to toggle)
libdatetime-format-strptime-perl 1.7900-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 6,812 kB
  • sloc: perl: 1,400; sh: 23; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 345 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use strict;
use warnings;

use Test::More;

use Capture::Tiny qw( capture );
use FindBin qw( $Bin );

chdir "$Bin/../.."
    or die "Cannot chdir to $Bin/../..: $!";

my ( $out, $err ) = capture { system(qw( precious lint -a )) };
is( $? >> 8, 0,   'precious lint -a exited with 0' );
is( $err,    q{}, 'no output to stderr' );

done_testing();