You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@yetus.apache.org by aw...@apache.org on 2021/11/05 18:58:09 UTC
[yetus] branch main updated: YETUS-1101. Add an exclusion test for
perlcritic (#233)
This is an automated email from the ASF dual-hosted git repository.
aw pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/yetus.git
The following commit(s) were added to refs/heads/main by this push:
new 8b67eb7 YETUS-1101. Add an exclusion test for perlcritic (#233)
8b67eb7 is described below
commit 8b67eb71e203f7172e70bb59bbac05a73fbaefa1
Author: Allen Wittenauer <aw...@apache.org>
AuthorDate: Fri Nov 5 11:58:05 2021 -0700
YETUS-1101. Add an exclusion test for perlcritic (#233)
---
.yetus/excludes.txt | 1 +
precommit/src/test/resources/brokenfiles/perlcritic.pl | 5 +++++
2 files changed, 6 insertions(+)
diff --git a/.yetus/excludes.txt b/.yetus/excludes.txt
index 0b24b7a..87ec84c 100644
--- a/.yetus/excludes.txt
+++ b/.yetus/excludes.txt
@@ -17,3 +17,4 @@ precommit/src/test/resources/brokenfiles/1\.txt
precommit/src/test/resources/brokenfiles/a.*\.txt
precommit/src/test/resources/brokenfiles/[2-3]\.txt
^precommit/src/test/resources/brokenfiles/4\.txt
+precommit/src/test/resources/brokenfiles/perlcritic.pl
diff --git a/precommit/src/test/resources/brokenfiles/perlcritic.pl b/precommit/src/test/resources/brokenfiles/perlcritic.pl
new file mode 100755
index 0000000..20c1435
--- /dev/null
+++ b/precommit/src/test/resources/brokenfiles/perlcritic.pl
@@ -0,0 +1,5 @@
+#!/usr/bin/env perl
+
+while (<>) {
+ print $_
+}
\ No newline at end of file