mirror of https://github.com/apache/lucene.git
don't print to stdout in test cases
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@202414 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
04b155a227
commit
7d60bb8214
|
@ -143,10 +143,10 @@ public class TestSpansAdvanced extends TestCase {
|
|||
final float[] expectedScores) throws IOException {
|
||||
|
||||
// display the hits
|
||||
System.out.println(hits.length() + " hits for search: \"" + description + '\"');
|
||||
/*System.out.println(hits.length() + " hits for search: \"" + description + '\"');
|
||||
for (int i = 0; i < hits.length(); i++) {
|
||||
System.out.println(" " + FIELD_ID + ':' + hits.doc(i).get(FIELD_ID) + " (score:" + hits.score(i) + ')');
|
||||
}
|
||||
}*/
|
||||
|
||||
// did we get the hits we expected
|
||||
assertEquals(expectedIds.length, hits.length());
|
||||
|
|
Loading…
Reference in New Issue