Skip to content

Commit 1eec20d

Browse files
committed
Use $test->diag, not diag() - in Test::Code::TidyAll
1 parent 2f8485e commit 1eec20d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Test/Code/TidyAll.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ sub tidyall_ok {
2323
$conf_file = Code::TidyAll->find_conf_file( \@conf_names, "." );
2424
}
2525
$options{quiet} = 1 unless $options{verbose};
26-
diag("Using $conf_file for config")
26+
$test->diag("Using $conf_file for config")
2727
if $options{verbose};
2828
my $ct = Code::TidyAll->new_from_conf_file(
2929
$conf_file,

0 commit comments

Comments
 (0)