File: 02-usage-env.t

package info (click to toggle)
libtest-if-perl 0.01-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 212 kB
  • sloc: perl: 1,833; sh: 22; makefile: 2
file content (8 lines) | stat: -rw-r--r-- 154 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
#!/usr/bin/env perl

use strict;
use lib::abs '../lib';
use Test::More;
use Test::If sub{ $ENV{SOME_DUMMY_ENV_VAR} }, [ tests => 1 ];

ok 1, 'test pass';