From: Shlomi Fish Date: Sat, 24 Sep 2022 02:51:05 +0000 (+0300) Subject: Fix tidyall tests. X-Git-Tag: fortune-mod-3.16.0~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b2bfe6aed5d0393153e97cd76ef5cb6f994294b;p=fortune-mod Fix tidyall tests. See: https://metacpan.org/release/Code-TidyAll . --- diff --git a/fortune-mod/fortune/process-fortune-man-template.pl b/fortune-mod/fortune/process-fortune-man-template.pl index f8c3b30..84e8c03 100644 --- a/fortune-mod/fortune/process-fortune-man-template.pl +++ b/fortune-mod/fortune/process-fortune-man-template.pl @@ -20,8 +20,8 @@ sub _utf8_slurp } use File::Basename qw / dirname /; -use File::Path qw / mkpath /; -use Getopt::Long qw/ GetOptions /; +use File::Path qw / mkpath /; +use Getopt::Long qw/ GetOptions /; my $input_fn; my $output_fn; diff --git a/fortune-mod/run-tests.pl b/fortune-mod/run-tests.pl index 43e1989..5c6dbce 100644 --- a/fortune-mod/run-tests.pl +++ b/fortune-mod/run-tests.pl @@ -3,7 +3,7 @@ use strict; use warnings; -use File::Spec (); +use File::Spec (); use Getopt::Long qw/ GetOptions /; my $src_dir; diff --git a/fortune-mod/tests/t/trailing-space-and-CRs.t b/fortune-mod/tests/t/trailing-space-and-CRs.t index 0ffab86..5e86c42 100644 --- a/fortune-mod/tests/t/trailing-space-and-CRs.t +++ b/fortune-mod/tests/t/trailing-space-and-CRs.t @@ -4,7 +4,7 @@ use strict; use warnings; use File::Find::Object (); -use Path::Tiny qw/ path /; +use Path::Tiny qw/ path /; use Test::More tests => 3; use Test::Differences (qw( eq_or_diff )); diff --git a/fortune-mod/util/FortuneMod/ManPage/Generate/App.pm b/fortune-mod/util/FortuneMod/ManPage/Generate/App.pm index 4e82171..b7567f4 100644 --- a/fortune-mod/util/FortuneMod/ManPage/Generate/App.pm +++ b/fortune-mod/util/FortuneMod/ManPage/Generate/App.pm @@ -5,7 +5,7 @@ use warnings; use autodie; use Getopt::Long qw/ GetOptions /; -use Path::Tiny qw/ path tempdir tempfile cwd /; +use Path::Tiny qw/ path tempdir tempfile cwd /; sub do_system {