quiet this test

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@996720 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2010-09-13 23:13:55 +00:00
parent e88daca523
commit 038bf7e72a
1 changed files with 2 additions and 1 deletions

View File

@ -1193,7 +1193,8 @@ public class TestQPHelper extends LuceneTestCase {
"a");
assertNotNull("result is null and it shouldn't be", result);
assertTrue("result is not a BooleanQuery", result instanceof BooleanQuery);
System.out.println("Result: " + result);
if (VERBOSE)
System.out.println("Result: " + result);
assertTrue(((BooleanQuery) result).clauses().size() + " does not equal: "
+ 2, ((BooleanQuery) result).clauses().size() == 2);
}