From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6906 invoked by alias); 12 Sep 2011 15:04:33 -0000 Received: (qmail 6898 invoked by uid 22791); 12 Sep 2011 15:04:32 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from wildebeest.demon.nl (HELO gnu.wildebeest.org) (80.101.103.228) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 12 Sep 2011 15:04:18 +0000 Subject: Re: Question about the test /gnu/testlet/java/util/Currency/Taiwan.java From: Mark Wielaard To: Pavel Tisnovsky Cc: mauve-discuss@sourceware.org In-Reply-To: <4E6E138B.2010105@redhat.com> References: <4E4E2166.5020703@redhat.com> <1315834868.3367.5.camel@springer.wildebeest.org> <4E6E138B.2010105@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 12 Sep 2011 15:04:00 -0000 Message-ID: <1315839854.3367.7.camel@springer.wildebeest.org> Mime-Version: 1.0 X-Spam-Score: -4.3 (----) X-IsSubscribed: yes Mailing-List: contact mauve-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: mauve-discuss-owner@sourceware.org X-SW-Source: 2011-q3/txt/msg00023.txt.bz2 On Mon, 2011-09-12 at 16:13 +0200, Pavel Tisnovsky wrote: > Mark Wielaard wrote: > > On Fri, 2011-08-19 at 10:40 +0200, Pavel Tisnovsky wrote: > >> Hi, > >> > >> I think that the number of fraction digits for Taiwan (TWD) currency s= hould be > >> set to 2, not to 0, according to (for example) these pages: > >> > >> http://www.londonfx.co.uk/ccylist.html > >> http://en.wikipedia.org/wiki/ISO_4217 > >> > >> Can I fix it? > >=20 > > Sure, do you have a patch? > >=20 > Yes, here is: >=20 > diff -u /mauve-orig/mauve/gnu/testlet/java/util/Currency/Taiwan.java > /mauve/mauve/gnu/testlet/java/util/Currency/Taiwan.java > --- /mauve-orig/mauve/gnu/testlet/java/util/Currency/Taiwan.java 2008-07-= 24 > 18:02:14.000000000 +0200 > +++ /mauve/mauve/gnu/testlet/java/util/Currency/Taiwan.java 2011-09-12 > 16:07:46.000000000 +0200 > @@ -37,7 +37,7 @@ > private static final Locale TEST_LOCALE =3D Locale.TAIWAN; > private static final String ISO4217_CODE =3D "TWD"; > private static final String CURRENCY_SYMBOL =3D "NT$"; > - private static final int FRACTION_DIGITS =3D 0; > + private static final int FRACTION_DIGITS =3D 2; >=20 > public void test(TestHarness harness) > { Yeah, based on those two documents, that seems the correct patch. Thanks, Mark