use strict;
use warnings;
use Test::More tests => 12;
use Test::Script;

for my $file (qw(
    bin/tangerine
    lib/Tangerine.pm
    lib/Tangerine/HookData.pm
    lib/Tangerine/Hook.pm
    lib/Tangerine/Occurence.pm
    lib/Tangerine/Utils.pm
    lib/Tangerine/hook/if.pm
    lib/Tangerine/hook/list.pm
    lib/Tangerine/hook/package.pm
    lib/Tangerine/hook/prefixedlist.pm
    lib/Tangerine/hook/require.pm
    lib/Tangerine/hook/use.pm
    )) {
        script_compiles($file, '$file compiles');
    }

use strict;
use warnings;
use Test::More tests => 16;
use Test::Script;

for my $file (qw(
    bin/tangerine
    lib/Tangerine.pm
    lib/Tangerine/HookData.pm
    lib/Tangerine/Hook.pm
    lib/Tangerine/Occurence.pm
    lib/Tangerine/Utils.pm
    lib/Tangerine/hook/anymoose.pm
    lib/Tangerine/hook/extends.pm
    lib/Tangerine/hook/if.pm
    lib/Tangerine/hook/list.pm
    lib/Tangerine/hook/mooselike.pm
    lib/Tangerine/hook/package.pm
    lib/Tangerine/hook/prefixedlist.pm
    lib/Tangerine/hook/require.pm
    lib/Tangerine/hook/use.pm
    lib/Tangerine/hook/with.pm
    )) {
        script_compiles($file, '$file compiles');
    }

Test if the new hooks compile
Test if the new hooks compile

Signed-off-by: Petr Šabata <1f673ccf9e063af5282d96ab076d64df4ae47dfe@redhat.com>
