Skip Menu |

This queue is for tickets about the Pod-Spelling CPAN distribution.

Report information
The Basics
Id: 99985
Status: open
Priority: 0/
Queue: Pod-Spelling

People
Owner: Nobody in particular
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.17
Fixed in: (no value)



Subject: Tests fail if Pod::Aspell is installed
Various tests fails if Pod::Aspell is installed: $ make test PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/manifest.t ......................... ok t/pod_format.t ....................... ok t/pod_spelling_aispell.t ............. 1/? Attempt to reload Pod/Spelling/Ispell.pm aborted. Compilation failed in require at (eval 9) line 2. at t/pod_spelling_aispell.t line 41. # Failed test 'Expected errors with Pod::Spelling::Aspell' # at t/pod_spelling_aispell.t line 49. # got: '0' # expected: '1' # Failed test 'Known unknown word with Pod::Spelling::Aspell' # at t/pod_spelling_aispell.t line 50. # got: undef # expected: 'Goddard' # $VAR1 = bless( { # 'aspell' => bless( do{\(my $o = 19570192)}, 'Text::Aspell' ), # 'skip_paths_matching' => [], # 'errors' => [], # 'spell_check_callback' => 'Pod::Spelling::Aspell::_spell_check_callback', # '_parser' => bless( { # 'META' => 0, # 'CODE' => 0, # 'LINE' => 23, # 'WARN' => 0, # 'FILENAME' => 't/good.pod', # 'WARNINGS' => [], # 'ERROR' => '' # }, 'Pod::POM' ), # 'allow_words' => [] # }, 'Pod::Spelling::Aspell' ); Attempt to reload Pod/Spelling/Ispell.pm aborted. Compilation failed in require at (eval 12) line 2. at t/pod_spelling_aispell.t line 53. Attempt to reload Pod/Spelling/Ispell.pm aborted. Compilation failed in require at (eval 14) line 2. at t/pod_spelling_aispell.t line 53. Attempt to reload Pod/Spelling/Ispell.pm aborted. Compilation failed in require at (eval 16) line 2. at t/pod_spelling_aispell.t line 57. Attempt to reload Pod/Spelling/Ispell.pm aborted. Compilation failed in require at (eval 21) line 2. at t/pod_spelling_aispell.t line 57. # Looks like you failed 2 tests of 15. It looks like the aspell (aspell-en-7.1) recognizes different words than the tests expect: $ perl -Ilib -e 'require Pod::Spelling::Aspell; $o=Pod::Spelling::Aspell->new; $r=$o->check_file(q{t/good.pod}); print qq{<$r>\n};' <0> $ aspell list < t/good.pod html html asdf There is a similar failure on CPAN testers <http://www.cpantesters.org/cpan/report/f7cf6566-617a-11e4-9ce3-9a752656b80b>.
Subject: Re: [rt.cpan.org #99985] Tests fail if Pod::Aspell is installed
Date: Mon, 03 Nov 2014 17:30:17 +0000
To: bug-Pod-Spelling [...] rt.cpan.org
From: Lee Goddard <leegee [...] gmail.com>
Thanks for this — I hope to give the modue some attention this month. Lee On 03/11/2014 16:10, Petr Pisar via RT wrote: Show quoted text
> Mon Nov 03 11:10:04 2014: Request 99985 was acted upon. > Transaction: Ticket created by ppisar > Queue: Pod-Spelling > Subject: Tests fail if Pod::Aspell is installed > Broken in: 0.17 > Severity: (no value) > Owner: Nobody > Requestors: ppisar@redhat.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=99985 > > > > Various tests fails if Pod::Aspell is installed: > > $ make test > PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/manifest.t ......................... ok > t/pod_format.t ....................... ok > t/pod_spelling_aispell.t ............. 1/? Attempt to reload Pod/Spelling/Ispell.pm aborted. > Compilation failed in require at (eval 9) line 2. > at t/pod_spelling_aispell.t line 41. > > # Failed test 'Expected errors with Pod::Spelling::Aspell' > # at t/pod_spelling_aispell.t line 49. > # got: '0' > # expected: '1' > > # Failed test 'Known unknown word with Pod::Spelling::Aspell' > # at t/pod_spelling_aispell.t line 50. > # got: undef > # expected: 'Goddard' > # $VAR1 = bless( { > # 'aspell' => bless( do{\(my $o = 19570192)}, 'Text::Aspell' ), > # 'skip_paths_matching' => [], > # 'errors' => [], > # 'spell_check_callback' => 'Pod::Spelling::Aspell::_spell_check_callback', > # '_parser' => bless( { > # 'META' => 0, > # 'CODE' => 0, > # 'LINE' => 23, > # 'WARN' => 0, > # 'FILENAME' => 't/good.pod', > # 'WARNINGS' => [], > # 'ERROR' => '' > # }, 'Pod::POM' ), > # 'allow_words' => [] > # }, 'Pod::Spelling::Aspell' ); > Attempt to reload Pod/Spelling/Ispell.pm aborted. > Compilation failed in require at (eval 12) line 2. > at t/pod_spelling_aispell.t line 53. > Attempt to reload Pod/Spelling/Ispell.pm aborted. > Compilation failed in require at (eval 14) line 2. > at t/pod_spelling_aispell.t line 53. > Attempt to reload Pod/Spelling/Ispell.pm aborted. > Compilation failed in require at (eval 16) line 2. > at t/pod_spelling_aispell.t line 57. > Attempt to reload Pod/Spelling/Ispell.pm aborted. > Compilation failed in require at (eval 21) line 2. > at t/pod_spelling_aispell.t line 57. > # Looks like you failed 2 tests of 15. > > It looks like the aspell (aspell-en-7.1) recognizes different words than the tests expect: > > $ perl -Ilib -e 'require Pod::Spelling::Aspell; $o=Pod::Spelling::Aspell->new; $r=$o->check_file(q{t/good.pod}); print qq{<$r>\n};' > <0> > $ aspell list < t/good.pod > html > html > asdf > > There is a similar failure on CPAN testers <http://www.cpantesters.org/cpan/report/f7cf6566-617a-11e4-9ce3-9a752656b80b>. >