mirror of https://github.com/apache/lucene.git
give more debugging info in this case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525713 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
876573650b
commit
dabeab3b38
|
@ -392,6 +392,7 @@ public abstract class BaseTokenStreamTestCase extends LuceneTestCase {
|
|||
// ok: MockTokenizer
|
||||
assertTrue(expected.getMessage(), expected.getMessage() != null && expected.getMessage().contains("wrong state"));
|
||||
} catch (Exception unexpected) {
|
||||
unexpected.printStackTrace(System.err);
|
||||
fail("got wrong exception when reset() not called: " + unexpected);
|
||||
} finally {
|
||||
// consume correctly
|
||||
|
|
Loading…
Reference in New Issue