lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject svn commit: r1503913 - /lucene/dev/branches/branch_4x/lucene/queries/src/test/org/apache/lucene/queries/TermFilterTest.java
Date Tue, 16 Jul 2013 21:50:12 GMT
Author: mvg
Date: Tue Jul 16 21:50:12 2013
New Revision: 1503913

URL: http://svn.apache.org/r1503913
Log:
value1 should always different than value2

Modified:
    lucene/dev/branches/branch_4x/lucene/queries/src/test/org/apache/lucene/queries/TermFilterTest.java

Modified: lucene/dev/branches/branch_4x/lucene/queries/src/test/org/apache/lucene/queries/TermFilterTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/queries/src/test/org/apache/lucene/queries/TermFilterTest.java?rev=1503913&r1=1503912&r2=1503913&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/queries/src/test/org/apache/lucene/queries/TermFilterTest.java
(original)
+++ lucene/dev/branches/branch_4x/lucene/queries/src/test/org/apache/lucene/queries/TermFilterTest.java
Tue Jul 16 21:50:12 2013
@@ -123,7 +123,7 @@ public class TermFilterTest extends Luce
       String field1 = "field" + i;
       String field2 = "field" + i + num;
       String value1 = _TestUtil.randomRealisticUnicodeString(random());
-      String value2 = _TestUtil.randomRealisticUnicodeString(random()) + "x"; // this must
be not equal to value1
+      String value2 = value1 + "x"; // this must be not equal to value1
 
       TermFilter filter1 = termFilter(field1, value1);
       TermFilter filter2 = termFilter(field1, value2);



Mime
View raw message