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:
Michael McCandless 2010-07-15 16:41:40 +00:00
parent ce249eefc5
commit 379bc338b5
1 changed files with 2 additions and 2 deletions

View File

@ -144,6 +144,6 @@ 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);
}
}