Browse Source
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>17.11.x
1 changed files with 0 additions and 22 deletions
@ -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