Bug 41901: (follow-up) Fix perlcritic violation in unit tests

Remove explicit "return undef" in favour of bare "return" to
satisfy Perl::Critic (PBP p.199).

Signed-off-by: Brian J. Barr <brian.barr@churchofjesuschrist.org>
Signed-off-by: Andrew Fuerste Henry <andrew@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Martin Renvoize 2026-04-14 13:41:18 +01:00 committed by Lucas Gass
parent cb8f1ff9d5
commit 67df3e1e85
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ subtest 'post() tests' => sub {
'fetch',
sub {
my ( $class, $id ) = @_;
return undef if $id == 999999;
return if $id == 999999;
my $rt = ( $id == 42 ) ? 'biblio' : 'authority';
my @matches = ();
@matches = (