We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04c946a commit c342b05Copy full SHA for c342b05
opengrok-indexer/src/test/java/org/opengrok/indexer/web/UtilTest.java
@@ -621,10 +621,10 @@ void getQueryParamsEmptyAndNormalValuesCombinedTest() throws MalformedURLExcepti
621
@Test
622
void testWriteHADNegative() throws Exception {
623
StringWriter writer = new StringWriter();
624
- String filePath = "/git/nonexistent.c";
+ String filePath = "/nonexistent/file.c";
625
Util.writeHAD(writer, "/source", filePath);
626
String output = writer.toString();
627
- assertEquals("<td class=\"q\"><a href=\"/source/download/git/nonexistent.c\" title=\"Download\">D</a></td>",
+ assertEquals("<td class=\"q\"><a href=\"/source/download/nonexistent/file.c\" title=\"Download\">D</a></td>",
628
output);
629
}
630
0 commit comments