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:
Martijn van Groningen 2013-07-16 21:48:57 +00:00
parent f15074e704
commit 049cd38596
1 changed files with 1 additions and 1 deletions

View File

@ -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);