remove bad assertion

This commit is contained in:
Mike McCandless 2016-12-15 09:23:48 -05:00
parent 295cab7216
commit 268d4ace36
1 changed files with 0 additions and 4 deletions

View File

@ -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 */