ICU-5801 Escape non-ASCII character in the test code. Merged changes in r22554 from trunk to maint-3-8.

X-SVN-Rev: 22555
This commit is contained in:
Yoshito Umaoka 2007-08-28 19:34:38 +00:00
parent 3399d66d46
commit 2b12d7431f

View file

@ -1,6 +1,6 @@
/*
*******************************************************************************
* Copyright (C) 2006, International Business Machines Corporation and *
* Copyright (C) 2007, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@ -221,7 +221,7 @@ public class NumberFormatTest extends ICUTestCase {
*/
public void testGetCurrencyInstanceLocale() {
NumberFormat nf = NumberFormat.getCurrencyInstance(Locale.GERMANY);
assertEquals("123.456,99 ", nf.format(123456.99));
assertEquals("123.456,99 \u20AC", nf.format(123456.99));
}
/*
@ -229,7 +229,7 @@ public class NumberFormatTest extends ICUTestCase {
*/
public void testGetCurrencyInstanceULocale() {
NumberFormat nf = NumberFormat.getCurrencyInstance(ULocale.GERMANY);
assertEquals("123.456,99 ", nf.format(123456.99));
assertEquals("123.456,99 \u20AC", nf.format(123456.99));
}
/*