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 {
701
701
void testWriteAnnotation (boolean enabled ) throws IOException {
702
702
StringWriter writer = new StringWriter ();
703
703
AnnotationData annotationData = new AnnotationData ();
704
- final String rev = "rev " ;
704
+ final String rev = "searchRev " ;
705
705
annotationData .addLine (rev , "author" , enabled , "dispRev" );
706
706
Annotation annotation = new Annotation (annotationData );
707
707
annotation .addDesc (rev , "description" );
@@ -711,8 +711,8 @@ void testWriteAnnotation(boolean enabled) throws IOException {
711
711
if (enabled ) {
712
712
expectedOutput = "<span class=\" blame\" >" +
713
713
"<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=\" " +
716
716
"title=\" Search history for this revision\" >S</a><span class=\" a\" >author</span></span>" ;
717
717
} else {
718
718
expectedOutput = "<span class=\" blame\" >dispRev<span class=\" a\" >author</span></span>" ;
You can’t perform that action at this time.
0 commit comments