From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

#!perl
=head1 DESCRIPTION
Verify that the get_file_pattern() subroutine returns a pattern to match file names
against.
=cut
use strict;
use Test::FailWarnings -allow_deps => 1;
use Test::More tests => 2;
can_ok(
'App::GitHooks::Plugin::PerlInterpreter',
'get_file_pattern',
);
ok_regex(
App::GitHooks::Plugin::PerlInterpreter->get_file_pattern(),
name => 'The return value of get_file_pattern()',
);