perl-Pod-Simple/backport-remove-useless-test.patch

45 lines
902 B
Diff
Raw Normal View History

From 909c734f9aefb278aba105b008e118125ccf9194 Mon Sep 17 00:00:00 2001
From: Graham Knop <haarg@haarg.org>
Date: Mon, 16 May 2022 14:36:00 +0200
Subject: [PATCH] remove useless test
The 20_skip test appears to exist only to test skipping. Which is not
this module's responsibility.
---
t/20_skip.t | 23 -----------------------
1 file changed, 23 deletions(-)
delete mode 100644 t/20_skip.t
diff --git a/t/20_skip.t b/t/20_skip.t
deleted file mode 100644
index a9fdac3..0000000
--- a/t/20_skip.t
+++ /dev/null
@@ -1,23 +0,0 @@
-# 20 skip under 5.8
-
-use strict;
-use warnings;
-
-BEGIN {
- if($ENV{PERL_CORE}) {
- chdir 't';
- @INC = '../lib';
- }
-}
-
-print "1..2\n";
- print "# Running under Perl v $]\n";
-if($] < 5.008) {
- print "ok 1 # Skip under Perl before 5.8 ($])\n";
-} else {
- print "ok 1\n";
- print "# ^ not skipping\n";
-}
-
-print "ok 2\n";
-
--
2.27.0