# Failed test 'localized error length'
# at t/form-field-l10n.t line 191.
# got: '46'
# expected: '25'
# Looks like you failed 1 test of 43.
t/form-field-l10n.t ...............
The full report:
http://www.nntp.perl.org/group/perl.cpan.testers/2009/11/msg6026258.html
The test in question:
$o = Rose::HTML::Form::Field->new(name => 'test', required => 1);
$o->locale('bg');
$o->validate;
$error = $o->error;
is(length($error), 25, 'localized error length');
Needless to say, this test passes just fine for me in both perl 5.10.0
and 5.8.8. Doe anyone have an idea what could be causing this? Maybe
a LOCALE environment variable? Can anyone else reproduce it?
-John
> I'm getting a few CPAN tester reports for Rose::HTML::Objects 0.606
> that show a test failure on a string length test for a UTF-8 encoded
> error message. The error:
>
> # Failed test 'localized error length'
> # at t/form-field-l10n.t line 191.
> # got: '46'
> # expected: '25'
> # Looks like you failed 1 test of 43.
> t/form-field-l10n.t ...............
I get the same failure with Perl 5.8.8 on both Ubuntu 8.04 and Windows 2000.
> The full report:
>
> http://www.nntp.perl.org/group/perl.cpan.testers/2009/11/msg6026258.html
>
> The test in question:
>
> $o = Rose::HTML::Form::Field->new(name => 'test', required => 1);
> $o->locale('bg');
> $o->validate;
>
> $error = $o->error;
> is(length($error), 25, 'localized error length');
>
> Needless to say, this test passes just fine for me in both perl 5.10.0
> and 5.8.8. Doe anyone have an idea what could be causing this? Maybe
> a LOCALE environment variable? Can anyone else reproduce it?
Neither tested systems has a LOCALE environment variable set.
Ubuntu is in English, Windows German.
Anything I can check to further nail this down?
-Michael