Yep. The old US test was failing because in 1.5 and before it was just EN and 1.6 is ES and EN.
On 8/10/06, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote:
Hi, does this mean that since JDK 1.6 USA speak English and Spanish ? Regards, Antoine -------- Original-Nachricht -------- Datum: Thu, 10 Aug 2006 21:26:27 -0000 Von: [EMAIL PROTECTED] An: [EMAIL PROTECTED] Betreff: svn commit: r430537 - /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/LocaleUtilsTest.java > Author: scolebourne > Date: Thu Aug 10 14:26:27 2006 > New Revision: 430537 > > URL: http://svn.apache.org/viewvc?rev=430537&view=rev > Log: > LANG-271 - Change tests now JDK1.6 states the US has two national > languages > > Modified: > > jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/LocaleUtilsTest.java > > Modified: > jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/LocaleUtilsTest.java > URL: > http://svn.apache.org/viewvc/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/LocaleUtilsTest.java?rev=430537&r1=430536&r2=430537&view=diff > ============================================================================== > --- > jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/LocaleUtilsTest.java (original) > +++ > jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/LocaleUtilsTest.java Thu Aug 10 14:26:27 2006 > @@ -35,7 +35,7 @@ > * > * @author Chris Hyzer > * @author Stephen Colebourne > - * @version $Id$ > + * @version $Id: LocaleUtilsTest.java 307282 2005-10-08 10:04:20Z > scolebourne $ > */ > public class LocaleUtilsTest extends TestCase { > > @@ -423,7 +423,7 @@ > */ > public void testLanguagesByCountry() { > assertLanguageByCountry(null, new String[0]); > - assertLanguageByCountry("US", new String[]{"en"}); > + assertLanguageByCountry("GB", new String[]{"en"}); > assertLanguageByCountry("ZZ", new String[0]); > assertLanguageByCountry("CH", new String[]{"fr", "de", "it"}); > } > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]