mirror of https://github.com/apache/lucene.git
value1 should always different than value2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1503912 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f15074e704
commit
049cd38596
|
@ -123,7 +123,7 @@ public class TermFilterTest extends LuceneTestCase {
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue