From 97c3b005a3852d1cc89822ef8a8f27aa13ef42df Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 9 Sep 2018 14:16:35 +0200 Subject: Use strictures instead of strict/warnings Signed-off-by: Florian Pritz --- t/cache_contains_data.t | 3 +-- t/compile.t | 2 +- t/find_archives.t | 3 +-- t/find_archives_mocked.t | 3 +-- t/handle_added_archives.t | 3 +-- t/handle_added_archives_with_db.t | 3 +-- t/helper/untaint.t | 3 +-- t/pod.t | 3 +-- t/pod_coverage.t | 3 +-- t/search_path.t | 3 +-- t/timespec_to_seconds.t | 3 +-- 11 files changed, 11 insertions(+), 21 deletions(-) (limited to 't') diff --git a/t/cache_contains_data.t b/t/cache_contains_data.t index 48832f4..425c875 100644 --- a/t/cache_contains_data.t +++ b/t/cache_contains_data.t @@ -1,5 +1,4 @@ -use strict; -use warnings; +use strictures 2; use Log::Any::Adapter ('TAP'); use Test::More; diff --git a/t/compile.t b/t/compile.t index 1a7a7a7..191d310 100644 --- a/t/compile.t +++ b/t/compile.t @@ -1,4 +1,4 @@ -use strict; +use strictures 2; use Test::More 0.98; use_ok $_ for qw( diff --git a/t/find_archives.t b/t/find_archives.t index e49cc2f..b10907e 100644 --- a/t/find_archives.t +++ b/t/find_archives.t @@ -1,5 +1,4 @@ -use strict; -use warnings; +use strictures 2; use Log::Any::Adapter ('TAP'); use Test::More; diff --git a/t/find_archives_mocked.t b/t/find_archives_mocked.t index a50c308..06e5a6f 100644 --- a/t/find_archives_mocked.t +++ b/t/find_archives_mocked.t @@ -1,5 +1,4 @@ -use strict; -use warnings; +use strictures 2; use Log::Any::Adapter ('TAP'); use Test::More; diff --git a/t/handle_added_archives.t b/t/handle_added_archives.t index d29c52a..d1dda74 100644 --- a/t/handle_added_archives.t +++ b/t/handle_added_archives.t @@ -1,5 +1,4 @@ -use strict; -use warnings; +use strictures 2; use Log::Any::Adapter ('TAP'); use POSIX qw(tzset); diff --git a/t/handle_added_archives_with_db.t b/t/handle_added_archives_with_db.t index 677953e..90c359c 100644 --- a/t/handle_added_archives_with_db.t +++ b/t/handle_added_archives_with_db.t @@ -1,5 +1,4 @@ -use strict; -use warnings; +use strictures 2; use Log::Any::Adapter ('TAP'); use POSIX qw(tzset); diff --git a/t/helper/untaint.t b/t/helper/untaint.t index 73b2c2b..0c2e36a 100644 --- a/t/helper/untaint.t +++ b/t/helper/untaint.t @@ -1,5 +1,4 @@ -use strict; -use warnings; +use strictures 2; use Log::Any::Adapter ('TAP'); use Test::More; diff --git a/t/pod.t b/t/pod.t index de15747..8da26be 100644 --- a/t/pod.t +++ b/t/pod.t @@ -1,5 +1,4 @@ -use strict; -use warnings; +use strictures 2; use Test::More; use Test::Pod; diff --git a/t/pod_coverage.t b/t/pod_coverage.t index fc346af..90a91ab 100644 --- a/t/pod_coverage.t +++ b/t/pod_coverage.t @@ -1,5 +1,4 @@ -use strict; -use warnings; +use strictures 2; use Test::More; use Test::Pod::Coverage; diff --git a/t/search_path.t b/t/search_path.t index 247b57f..bf5052f 100644 --- a/t/search_path.t +++ b/t/search_path.t @@ -1,5 +1,4 @@ -use strict; -use warnings; +use strictures 2; use Log::Any::Adapter ('TAP'); use Test::More; diff --git a/t/timespec_to_seconds.t b/t/timespec_to_seconds.t index 3724682..0f0a77c 100644 --- a/t/timespec_to_seconds.t +++ b/t/timespec_to_seconds.t @@ -1,5 +1,4 @@ -use strict; -use warnings; +use strictures 2; use Log::Any::Adapter ('TAP'); use Test::More; -- cgit v1.2.3-24-g4f1b