Subject: | Couple of incorrect conversions |
Date: | Tue, 13 Dec 2011 15:22:50 -0600 |
To: | bug-Lingua-EN-Inflect-Phrase [...] rt.cpan.org |
From: | Matt Wilson <mattdw [...] gmail.com> |
Hello,
Noticed these when I got some unexpected schema file names from using
Catalyst::Helper::Model::DBIC::Schema. Running Windows 7 Professional x64.
I copied the tests from the module documentation, substituting in the
column names that came out incorrectly. This is what I tested and what
failed:
my $plural = Lingua::EN::Inflect::Phrase::to_PL('referal log');
is $plural, 'referal logs';
my $singular = Lingua::EN::Inflect::Phrase::to_S('referal logs');
is $singular, 'referal log';
*****
1..2
ok 1
not ok 2
# Failed test at C:\Users\mattdw\Desktop\tests\lingua_test.pl line 15.
# got: 'referal logs'
# expected: 'referal log'
# Looks like you failed 1 test of 2.
==============================================================
1..2
ok 1
not ok 2
# Failed test at C:\Users\mattdw\Desktop\tests\lingua_test.pl line 15.
# got: 'aliase'
# expected: 'alias'
# Looks like you failed 1 test of 2.