File: has_plan.t

package info (click to toggle)
libtest-requires-git-perl 1.008-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 200 kB
  • sloc: perl: 297; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 272 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use strict;
use warnings;
use Test::More;

use lib 't/lib';
use FakeGit '1.2.3';

use Test::Requires::Git;

plan tests => 3;

# ok
test_requires_git
  version_gt => '1.2.0',
  version_lt => '1.3.0';

# skip
test_requires_git version_lt => '1.2.1';

fail('cannot happen');