Skip to content

Commit dcb6c77

Browse files
committed
rename
1 parent 0fb75fe commit dcb6c77

File tree

1 file changed

+3
-3
lines changed
  • opengrok-indexer/src/test/java/org/opengrok/indexer/web

1 file changed

+3
-3
lines changed

opengrok-indexer/src/test/java/org/opengrok/indexer/web/UtilTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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&amp;r=rev\" title=\"description\">dispRev</a>" +
715-
"<a class=\"search\" href=\"/source/s?defs=&amp;refs=&amp;path=foo&amp;hist=&quot;rev&quot;&amp;type=\" " +
714+
"href=\"?a=true&amp;r=searchRev\" title=\"description\">dispRev</a>" +
715+
"<a class=\"search\" href=\"/source/s?defs=&amp;refs=&amp;path=foo&amp;hist=&quot;searchRev&quot;&amp;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>";

0 commit comments

Comments
 (0)