From e1d62726c56c3f425dc73b2a45f785e944fefb94 Mon Sep 17 00:00:00 2001 From: Shlomi Fish Date: Wed, 30 Sep 2020 10:48:47 +0300 Subject: [PATCH] Fix tidyall tests. See: https://metacpan.org/release/Code-TidyAll . --- .tidyallrc | 2 +- tests/style/style-trailing-space.t | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.tidyallrc b/.tidyallrc index 39457283..bda706b9 100644 --- a/.tidyallrc +++ b/.tidyallrc @@ -3,6 +3,6 @@ ignore = tests/individually-importing/* select = **/*.py [PerlTidy] -argv = -ci=4 -bl -cti=0 +argv = -ci=4 -bl -cti=0 --character-encoding=none ignore = **/{cmpdigest,valgrind,verify}--*.t select = **/*.{pl,pm,t} diff --git a/tests/style/style-trailing-space.t b/tests/style/style-trailing-space.t index 8309adc7..63deb7bb 100644 --- a/tests/style/style-trailing-space.t +++ b/tests/style/style-trailing-space.t @@ -17,7 +17,7 @@ else my $finder = Test::TrailingSpace->new( { - root => '.', + root => '.', filename_regex => qr/(?:(?:\.(?:bash|sh|t|pm|pl|PL|yml|json|arc|vim|html|py|tcl|xhtml))|README(?:[\.\w]*)|Changes|LICENSE|MANIFEST(?:\.in)?|AUTHORS|COPYING)\z/, },