mirror of https://github.com/apache/lucene.git
remove bad assertion
This commit is contained in:
parent
295cab7216
commit
268d4ace36
|
@ -93,10 +93,6 @@ public class QueryUtils {
|
|||
public static void checkUnequal(Query q1, Query q2) {
|
||||
assertFalse(q1 + " equal to " + q2, q1.equals(q2));
|
||||
assertFalse(q2 + " equal to " + q1, q2.equals(q1));
|
||||
|
||||
// possible this test can fail on a hash collision... if that
|
||||
// happens, please change test to use a different example.
|
||||
assertTrue(q1.hashCode() != q2.hashCode());
|
||||
}
|
||||
|
||||
/** deep check that explanations of a query 'score' correctly */
|
||||
|
|
Loading…
Reference in New Issue