You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by rh...@apache.org on 2014/03/30 23:06:05 UTC

svn commit: r1583200 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/LuceneSupportPermsTest.java

Author: rhillegas
Date: Sun Mar 30 21:06:05 2014
New Revision: 1583200

URL: http://svn.apache.org/r1583200
Log:
DERBY-590: Fix a locale-sensitive Lucene test; commit derby-590-10-aa-fixLocaleTest.diff.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/LuceneSupportPermsTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/LuceneSupportPermsTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/LuceneSupportPermsTest.java?rev=1583200&r1=1583199&r2=1583200&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/LuceneSupportPermsTest.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/LuceneSupportPermsTest.java Sun Mar 30 21:06:05 2014
@@ -501,10 +501,10 @@ public class LuceneSupportPermsTest exte
         assertResults
             (
              ruthConnection,
-             "values ( getDatabaseLocale() )",
+             "values ( substr( getDatabaseLocale(), 1, 2 ) )",
              new String[][]
              {
-                 { LANGUAGE + "_" + COUNTRY },
+                 { LANGUAGE },
              },
              false
              );