File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
opengrok-indexer/src/test/java/org/opengrok/indexer/web Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -701,7 +701,7 @@ void testWriteHAD() throws Exception {
701701 void testWriteAnnotation (boolean enabled ) throws IOException {
702702 StringWriter writer = new StringWriter ();
703703 AnnotationData annotationData = new AnnotationData ();
704- final String rev = "rev " ;
704+ final String rev = "searchRev " ;
705705 annotationData .addLine (rev , "author" , enabled , "dispRev" );
706706 Annotation annotation = new Annotation (annotationData );
707707 annotation .addDesc (rev , "description" );
@@ -711,8 +711,8 @@ void testWriteAnnotation(boolean enabled) throws IOException {
711711 if (enabled ) {
712712 expectedOutput = "<span class=\" blame\" >" +
713713 "<a class=\" r title-tooltip\" style=\" background-color: rgb(255, 191, 195)\" " +
714- "href=\" ?a=true&r=rev \" title=\" description\" >dispRev</a>" +
715- "<a class=\" search\" href=\" /source/s?defs=&refs=&path=foo&hist="rev "&type=\" " +
714+ "href=\" ?a=true&r=searchRev \" title=\" description\" >dispRev</a>" +
715+ "<a class=\" search\" href=\" /source/s?defs=&refs=&path=foo&hist="searchRev "&type=\" " +
716716 "title=\" Search history for this revision\" >S</a><span class=\" a\" >author</span></span>" ;
717717 } else {
718718 expectedOutput = "<span class=\" blame\" >dispRev<span class=\" a\" >author</span></span>" ;
You can’t perform that action at this time.
0 commit comments