Bug 19262: Remove xt/author/pod_spell.t
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 6 Sep 2017 13:42:28 +0000 (10:42 -0300)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 29 Oct 2017 17:34:20 +0000 (18:34 +0100)
If you run `prove xt/author/pod_spell.t` without having Test::Spelling installed, it will skip the tests.

If you install the lib-test-spelling-perl, the test will fail:
xt/author/pod_spell.t .. You said to run 0 tests at xt/author/pod_spell.t line 21.
xt/author/pod_spell.t .. Dubious, test returned 25 (wstat 6400, 0x1900)
No subtests run

This is because the call to all_pod_files_spelling_ok is expecting a path

If we try to fix it with adding "." as parameter, the tests will raise tone of errors.

Let's remove this file

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 35e3de845c591958d66c6602940453f2a803a7ee)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit d8e09eaec4b7bcbeb66a4e33fbe1adb2fc976fcf)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

xt/author/pod_spell.t [deleted file]

diff --git a/xt/author/pod_spell.t b/xt/author/pod_spell.t
deleted file mode 100644 (file)
index 65f7e0b..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env perl
-use strict;
-use warnings;
-
-=head2 pod_spell.t
-
-This test script attempts to spellcheck text in perl's POD
-documentation.
-
-You must have Test::Spelling installed.
-
-One good way to run this is with C<prove -v
-xt/author/pod_spell.t>
-
-=cut
-
-use Test::More;
-eval "use Test::Spelling";
-plan skip_all => "Test::Spelling required for testing POD spelling" if $@;
-
-all_pod_files_spelling_ok();
-