mirror of https://github.com/apache/lucene.git
feed junit found and expected in assertMatchesPattern
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@765584 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
55c0cc3922
commit
45986b246c
|
@ -984,7 +984,7 @@ implements Serializable {
|
|||
}
|
||||
}
|
||||
// System.out.println ("matching \""+buff+"\" against pattern \""+pattern+"\"");
|
||||
assertTrue (Pattern.compile(pattern).matcher(buff.toString()).matches());
|
||||
assertTrue ("found:" + buff + " expected:" + pattern, Pattern.compile(pattern).matcher(buff.toString()).matches());
|
||||
}
|
||||
|
||||
private HashMap getScores (ScoreDoc[] hits, Searcher searcher)
|
||||
|
|
Loading…
Reference in New Issue