mirror of
https://github.com/yacy/yacy_search_server.git
synced 2026-10-25 05:54:15 +00:00
added debug code to parser test to investigate why this fails in travis
build
This commit is contained in:
1 parent
80785b785e
commit
64a17faca0
1 file changed
+2
-2
@@ -152,8 +152,8 @@ public class ooxmlParserTest {
|
||||
final Collection<AnchorURL> anchors = docs[0].getAnchors();
|
||||
assertNotNull("Detected URLs must not be null", anchors);
|
||||
assertEquals("2 URLs should be detected", 2, anchors.size());
|
||||
assertTrue("YaCy home page URL should have been parsed", anchors.contains(new AnchorURL("http://yacy.net")));
|
||||
assertTrue("YaCy forum URL should have been parsed", anchors.contains(new AnchorURL("https://searchlab.eu")));
|
||||
assertTrue("YaCy home page URL should have been parsed: " + anchors.toString(), anchors.contains(new AnchorURL("http://yacy.net/")));
|
||||
assertTrue("YaCy forum URL should have been parsed: " + anchors.toString(), anchors.contains(new AnchorURL("https://searchlab.eu/")));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user