#!perl
use
strict;
use
warnings;
use
Test::Exception;
use
Test::Type;
can_ok(
'App::GitHooks::Plugin::PerlInterpreter'
,
'get_file_check_description'
,
);
my
$file_check_description
;
lives_ok(
sub
{
$file_check_description
= App::GitHooks::Plugin::PerlInterpreter->get_file_check_description();
},
'Retrieve the description.'
,
);
ok_string(
$file_check_description
,
name
=>
'The description'
,
allow_empty
=> 0,
);