Bug 19262: Remove xt/author/pod_spell.t
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 35e3de845c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
17f207f2e9
commit
d8e09eaec4
|
|
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue