File: no_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 (21 lines) | stat: -rw-r--r-- 296 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
21
use strict;
use warnings;
use Test::More;

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

use Test::Requires::Git;

plan 'no_plan';

# ok
test_requires_git version_gt => '1.2.0';

# skip
test_requires_git
  version_lt => '1.2.1',
  version_eq => '1.2.3',
  version_ne => '1.2.3';

fail('cannot happen');