Skip to content

Commit d99ecc4

Browse files
Merge pull request stleary#52 from bpieber/patch-1
Make test run on german locale.
2 parents d98dc0b + af0ab69 commit d99ecc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/TestJSONObject.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ public static void testConstructor_UsResourceBundle()
801801
{
802802
try
803803
{
804-
Locale currentLocale = new Locale("en");
804+
Locale currentLocale = new Locale("en", "US");
805805
assertEquals(
806806
"{\"ASCII\":\"American Standard Code for Information Interchange\",\"JSON\":\"JavaScript Object Notation\",\"JAVA\":{\"desc\":\"Just Another Vague Acronym\",\"data\":\"Sweet language\"}}",
807807
new JSONObject("org.json.tests.SampleResourceBundle",

0 commit comments

Comments
 (0)