The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

#!perl
use strict;
use Test::FailWarnings -allow_deps => 1;
use Test::More tests => 3;
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,
);