Skip to content

Commit

Permalink
Merge pull request #52 from bpieber/patch-1
Browse files Browse the repository at this point in the history
Make test run on german locale.
  • Loading branch information
douglascrockford committed Apr 13, 2012
2 parents d98dc0b + af0ab69 commit d99ecc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestJSONObject.java
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ public static void testConstructor_UsResourceBundle()
{
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",
Expand Down

0 comments on commit d99ecc4

Please sign in to comment.