public inbox for mauve-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Pavel Tisnovsky <ptisnovs@redhat.com>
To: Mark Wielaard <mark@klomp.org>
Cc: mauve-discuss@sourceware.org
Subject: Re: Question about the test /gnu/testlet/java/util/Currency/Taiwan.java
Date: Mon, 12 Sep 2011 14:12:00 -0000	[thread overview]
Message-ID: <4E6E138B.2010105@redhat.com> (raw)
In-Reply-To: <1315834868.3367.5.camel@springer.wildebeest.org>

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 should 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?
> 
> Sure, do you have a patch?
> 
> Thanks,
> 
> Mark

Yes, here is:

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 = Locale.TAIWAN;
   private static final String ISO4217_CODE = "TWD";
   private static final String CURRENCY_SYMBOL = "NT$";
-  private static final int FRACTION_DIGITS = 0;
+  private static final int FRACTION_DIGITS = 2;

   public void test(TestHarness harness)
   {

  reply	other threads:[~2011-09-12 14:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-19  8:38 Pavel Tisnovsky
2011-09-02 14:16 ` Pavel Tisnovsky
2011-09-12 13:41 ` Mark Wielaard
2011-09-12 14:12   ` Pavel Tisnovsky [this message]
2011-09-12 15:04     ` Mark Wielaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E6E138B.2010105@redhat.com \
    --to=ptisnovs@redhat.com \
    --cc=mark@klomp.org \
    --cc=mauve-discuss@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).