mirror of https://github.com/apache/lucene.git
use CheckHits to more thoroughly confirm results are identical (rmuir: add some more hair to the monster...)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@964485 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ce249eefc5
commit
379bc338b5
|
@ -143,7 +143,7 @@ public class TestRegexpRandom2 extends LuceneTestCase {
|
|||
|
||||
TopDocs smartDocs = searcher.search(smart, 25);
|
||||
TopDocs dumbDocs = searcher.search(dumb, 25);
|
||||
|
||||
assertEquals("for re:" + regexp, dumbDocs.totalHits, smartDocs.totalHits);
|
||||
|
||||
CheckHits.checkEqual(smart, smartDocs.scoreDocs, dumbDocs.scoreDocs);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue