File: merge.t

package info (click to toggle)
libdist-checkconflicts-perl 0.11-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 428 kB
  • sloc: perl: 938; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 393 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
#!/usr/bin/env perl
use strict;
use warnings;
use Test::More;
use lib 't/lib/merge';

{
    require Foo::Conflicts;
    is_deeply(
        { Foo::Conflicts->conflicts },
        {
            'Foo::One'   => '0.03',
            'Foo::Two'   => '0.03',
            'Foo::Three' => '0.02',
            'Foo::Four'  => '0.02',
        },
        "got the right conflicts"
    );
}

done_testing;