Skip Menu |

This queue is for tickets about the Number-Format CPAN distribution.

Report information
The Basics
Id: 37391
Status: resolved
Priority: 0/
Queue: Number-Format

People
Owner: WRW [...] cpan.org
Requestors: grousse [...] cpan.org
Cc:
AdminCc:

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



Subject: test failure
[guillomovitch@n2 Number-Format-1.60]$ perl -I blib/lib/ t/locale.t ok 1 - use Number::Format; ok 2 - use POSIX; ok 3 # skip not ok 4 - dollars # Failed test 'dollars' # at t/locale.t line 22. # got: 'USD 123,456.79' # expected: 'USD 123,456.79' 1..4 # Looks like you failed 1 test of 4 perl 5.10, glibc 2.8, linux 2.6.22.18
Subject: Re: [rt.cpan.org #37391] test failure
Date: Fri, 4 Jul 2008 00:47:20 -0700
To: bug-Number-Format [...] rt.cpan.org
From: "Bill Ward" <bill [...] wards.net>
What is your $LANG setting? On Fri, Jul 4, 2008 at 12:40 AM, Guillaume Rousse via RT <bug-Number-Format@rt.cpan.org> wrote: Show quoted text
> Fri Jul 04 03:40:16 2008: Request 37391 was acted upon. > Transaction: Ticket created by GROUSSE > Queue: Number-Format > Subject: test failure > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: grousse@cpan.org > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=37391 > > > > [guillomovitch@n2 Number-Format-1.60]$ perl -I blib/lib/ t/locale.t > ok 1 - use Number::Format; > ok 2 - use POSIX; > ok 3 # skip > not ok 4 - dollars > # Failed test 'dollars' > # at t/locale.t line 22. > # got: 'USD 123,456.79' > # expected: 'USD 123,456.79' > 1..4 > # Looks like you failed 1 test of 4 > > perl 5.10, glibc 2.8, linux 2.6.22.18 >
Le Ven. Jul. 04 03:47:31 2008, bill@wards.net a écrit : Show quoted text
> What is your $LANG setting?
fr_FR.UTF-8
Subject: Re: [rt.cpan.org #37391] test failure
Date: Wed, 16 Jul 2008 15:48:44 +0200
To: bug-Number-Format [...] rt.cpan.org
From: Krzysztof Juszkiewicz <krzysztof.juszkiewicz [...] pl.hurra.com>
Hello, http://rt.cpan.org/Public/Bug/Display.html?id=37391 in man 7 locale you can read: char *int_curr_symbol; /* First three chars are a currency symbol from ISO 4217. Fourth char is the separator. Fifth char is ’ ’. */ you use the above, but should char *currency_symbol; /* Local currency symbol */ KJ
I believe this issue is fixed in newer versions of the module