Skip Menu |

This queue is for tickets about the Wiktionary-Parser CPAN distribution.

Report information
The Basics
Id: 95537
Status: open
Priority: 0/
Queue: Wiktionary-Parser

People
Owner: Nobody in particular
Requestors: CHORNY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.11
Fixed in: (no value)



Subject: tests fail on bleadperl
# Failed test 'parsed * Scottish Gaelic: [[òr-mheas]] {{m}}, {{t-|gd|oraindsear|m|xs=Scottish Gaelic}}' # at t/02_parse_translations.t line 123. # Structures begin differing at: # $got->{test-word-sense}{gd}{language} = 'Scottish Gaelic' # $expected->{test-word-sense}{gd}{language} = 'Gaelic' # Looks like you failed 1 test of 20. t/02_parse_translations.t .. Dubious, test returned 1 (wstat 256, 0x100) http://matrix.cpantesters.org/?dist=Wiktionary-Parser%200.11;perl=5.19.11;reports=1 -- Alexandr Ciornii, http://chorny.net
Fails on 5.18.2 too. -- Alexandr Ciornii, http://chorny.net
Subject: Re: [rt.cpan.org #95537] tests fail on bleadperl
Date: Sun, 11 May 2014 14:38:57 -0400
To: bug-Wiktionary-Parser [...] rt.cpan.org
From: Chris Becker <clbecker [...] gmail.com>
Hi, Thanks for the report. I saw a few of these failures show up in the automated cpan testers report, but I haven't been able to recreate it myself (my environment is currently on 5.16.3). I added a new unit test to the github repo here to try to dig into it further: https://github.com/clbecker/perl-wiktionary-parser If you have an easy way to run the latest code in this repo against the perl versions you're seeing this issue on, let me know if you can dump the test output in here. If there's an easy way for me to spin up an environment with this perl version, it would be great if you can point me to that too. -Chris On Sun, May 11, 2014 at 5:33 AM, Alexandr Ciornii via RT < bug-Wiktionary-Parser@rt.cpan.org> wrote: Show quoted text
> Queue: Wiktionary-Parser > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=95537 > > > Fails on 5.18.2 too. > > -- > Alexandr Ciornii, http://chorny.net > >
Subject: [rt.cpan.org #95537]
Date: Mon, 07 Jul 2014 18:37:14 -0700
To: bug-Wiktionary-Parser [...] rt.cpan.org
From: K Sutker <ksutker [...] gmail.com>
I was getting the same error as above and # perl -v gives me "This is perl 5, version 14, subversion 2 (v5.14.2) built for i686-linux-gnu-thread-multi-64int" I got cpanm to install the module without complaint by changing sub result_gd { return { 'test-word-sense' => { 'gd' => { 'part_of_speech' => 'noun', 'language' => 'Gaelic', 'translations' => [ 'oraindsear', 'òr-mheas' ] } } }; } to sub result_gd { return { 'test-word-sense' => { 'gd' => { 'part_of_speech' => 'noun', 'language' => 'Scottish Gaelic', 'translations' => [ 'oraindsear', 'òr-mheas' ] } } }; } in t/02_parse_translations.t I haven't played around with it yet, so I can't confirm that everything's working as it should. --- Kalman Sutker