[Commits] [SCM] clawsker branch, master, updated. 1.3.8-23-g42d200f

mones at claws-mail.org mones at claws-mail.org
Wed Sep 4 18:33:02 UTC 2024


The branch, master has been updated
       via  42d200f32306e3b968ad56831942943267b58b96 (commit)
      from  6b58a91f44a386dbbc132a64b087ec52648ddb59 (commit)

Summary of changes:
 README        |  1 +
 t/criticism.t | 15 +++++++++++++++
 2 files changed, 16 insertions(+)
 create mode 100644 t/criticism.t


- Log -----------------------------------------------------------------
commit 42d200f32306e3b968ad56831942943267b58b96
Author: Ricardo Mones <ricardo at mones.org>
Date:   Wed Sep 4 20:32:52 2024 +0200

    Add current critic test

diff --git a/README b/README
index 70af12e..494d6c4 100644
--- a/README
+++ b/README
@@ -42,6 +42,7 @@ Dependencies
   Test::Output - https://metacpan.org/pod/Test::Output
   Test::Exception - https://metacpan.org/pod/Test::Exception
   Test::NeedsDisplay - https://metacpan.org/pod/Test::NeedsDisplay
+  Test::Perl::Critic - https://metacpan.org/pod/Test::Perl::Critic
 
 Install
 -------
diff --git a/t/criticism.t b/t/criticism.t
new file mode 100644
index 0000000..4b3292e
--- /dev/null
+++ b/t/criticism.t
@@ -0,0 +1,15 @@
+use 5.010_000;
+use strict;
+use utf8;
+use Test::More;
+use Test::Perl::Critic (
+  -severity => 4,
+  -exclude => [
+    'ProhibitConstantPragma',
+    'RequireArgUnpacking',
+  ]
+);
+
+all_critic_ok(
+  't/Clawsker.pm',
+);

-----------------------------------------------------------------------


hooks/post-receive
-- 
Hidden preferences editor for Claws Mail


More information about the Commits mailing list