—#!perl
=head1 DESCRIPTION
Verify that the get_file_pattern() subroutine returns a pattern to match file names
against.
=cut
use
strict;
use
warnings;
use
Test::Type;
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()'
,
);