1
0
Fork 0
mirror of https://github.com/ethauvin/JSON-java.git synced 2025-06-17 07:50:52 -07:00

Merge pull request #52 from bpieber/patch-1

Make test run on german locale.
This commit is contained in:
Douglas Crockford 2012-04-13 07:16:02 -07:00
commit d99ecc4646

View file

@ -801,7 +801,7 @@ public class TestJSONObject extends TestCase
{
try
{
Locale currentLocale = new Locale("en");
Locale currentLocale = new Locale("en", "US");
assertEquals(
"{\"ASCII\":\"American Standard Code for Information Interchange\",\"JSON\":\"JavaScript Object Notation\",\"JAVA\":{\"desc\":\"Just Another Vague Acronym\",\"data\":\"Sweet language\"}}",
new JSONObject("org.json.tests.SampleResourceBundle",