[libhtml-scrubber-perl] 09/30: Add strict and warnings pragmas to test files

Florian Schlichting fsfs at moszumanska.debian.org
Sat Nov 11 13:46:19 UTC 2017


This is an automated email from the git hooks/post-receive script.

fsfs pushed a commit to annotated tag release/0.16
in repository libhtml-scrubber-perl.

commit 45663e345df08cce6a790793e5a292ad3c540f67
Author: Paul Cochrane <paul at liekut.de>
Date:   Wed Jun 14 12:15:28 2017 +0200

    Add strict and warnings pragmas to test files
---
 t/01_use.t          | 5 ++++-
 t/02_basic.t        | 3 +++
 t/09_memory_cycle.t | 2 ++
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/t/01_use.t b/t/01_use.t
index 6bf5370..801c5ab 100644
--- a/t/01_use.t
+++ b/t/01_use.t
@@ -1,5 +1,8 @@
 # Check this module loads
-#
+
+use strict;
+use warnings;
+
 use Test::More tests => 1;
 
 BEGIN {
diff --git a/t/02_basic.t b/t/02_basic.t
index 437d419..4ff93b6 100644
--- a/t/02_basic.t
+++ b/t/02_basic.t
@@ -5,6 +5,9 @@
 
 # change 'tests => 1' to 'tests => last_test_to_print';
 
+use strict;
+use warnings;
+
 use Test;
 BEGIN { plan tests => 77 }
 use HTML::Scrubber;
diff --git a/t/09_memory_cycle.t b/t/09_memory_cycle.t
index d49b97e..4e0aae8 100644
--- a/t/09_memory_cycle.t
+++ b/t/09_memory_cycle.t
@@ -1,3 +1,5 @@
+use strict;
+use warnings;
 
 use Test::More tests => 1;
 use Test::Memory::Cycle;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libhtml-scrubber-perl.git



More information about the Pkg-perl-cvs-commits mailing list