Skip Menu |

This queue is for tickets about the Lingua-Ru-Numeric-Declension CPAN distribution.

Report information
The Basics
Id: 117670
Status: open
Priority: 0/
Queue: Lingua-Ru-Numeric-Declension

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

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



Subject: The encoding pragma is no longer supported
Tests fail with bleadperl (e.g. perl 5.25.4): The encoding pragma is no longer supported at t/numdecl.t line 4. BEGIN failed--compilation aborted at t/numdecl.t line 4. t/numdecl.t .. skipped: (no reason given) ... Test Summary Report ------------------- t/numdecl.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Files=2, Tests=1, 0 wallclock secs ( 0.01 usr 0.00 sys + 0.05 cusr 0.00 csys = 0.06 CPU) Result: FAIL
On Thu Sep 08 17:14:59 2016, SREZIC wrote: Show quoted text
> Tests fail with bleadperl (e.g. perl 5.25.4): > > > The encoding pragma is no longer supported at t/numdecl.t line 4. > BEGIN failed--compilation aborted at t/numdecl.t line 4. > t/numdecl.t .. skipped: (no reason given) > > ... > > Test Summary Report > ------------------- > t/numdecl.t (Wstat: 512 Tests: 0 Failed: 0) > Non-zero exit status: 2 > Files=2, Tests=1, 0 wallclock secs ( 0.01 usr 0.00 sys + 0.05 cusr > 0.00 csys = 0.06 CPU) > Result: FAIL
‘use encoding’ is unnecessary if you also ‘use utf8’. See the attached patch.
Subject: open_rzRwn4MK.txt
diff -rup Lingua-Ru-Numeric-Declension-1.1-0-orig/t/numdecl.t Lingua-Ru-Numeric-Declension-1.1-0/t/numdecl.t --- Lingua-Ru-Numeric-Declension-1.1-0-orig/t/numdecl.t 2016-09-13 12:31:20.000000000 -0700 +++ Lingua-Ru-Numeric-Declension-1.1-0/t/numdecl.t 2016-09-13 12:31:26.000000000 -0700 @@ -1,7 +1,6 @@ use Test::More qw(no_plan); use utf8; -use encoding 'utf-8'; use Lingua::RU::Numeric::Declension 'numdecl'; my @forms = qw(попугай попугая попугаев);