File: split_version_relation.t

package info (click to toggle)
dh-make-perl 0.75-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,520 kB
  • sloc: perl: 4,730; makefile: 94
file content (15 lines) | stat: -rw-r--r-- 266 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!perl -T

use Test::More tests => 3;

BEGIN { use_ok( 'DhMakePerl::Utils', qw( split_version_relation ) ) };

is_deeply(
    [ split_version_relation('0.45') ],
    [ '>=', '0.45' ],
);

is_deeply(
    [ split_version_relation('> 0.56') ],
    [ '>>', '0.56' ],
);