Skip to content

Commit

Permalink
Correct isa_ok() call in inc/My/Module/Test.pm.
Browse files Browse the repository at this point in the history
  • Loading branch information
trwyant committed Oct 4, 2023
1 parent 80cac40 commit 10d49d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/My/Module/Test.pm
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ sub klass {
# error if you do it enough times.
$Test::Builder::Level = $Test::Builder::Level + 1;
if ( defined $class ) {
my $rslt = isa_ok( $obj, $class, "$kind $nav" )
my $rslt = isa_ok( $obj, $class )
or diag " Instead, $kind $nav isa $result";
return $rslt;
} else {
Expand Down

0 comments on commit 10d49d8

Please sign in to comment.