This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-doxia.git


The following commit(s) were added to refs/heads/master by this push:
     new 915f5de5 Trivial: Modify test to clarify upper/lowercase characters in 
TOC entry ids
915f5de5 is described below

commit 915f5de5d63152e8e6cd1b38ed7db8eb61e84bcf
Author: Konrad Windszus <k...@apache.org>
AuthorDate: Sat Nov 9 11:41:37 2024 +0100

    Trivial: Modify test to clarify upper/lowercase characters in TOC entry
    ids
---
 .../src/test/java/org/apache/maven/doxia/index/IndexingSinkTest.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/doxia-core/src/test/java/org/apache/maven/doxia/index/IndexingSinkTest.java 
b/doxia-core/src/test/java/org/apache/maven/doxia/index/IndexingSinkTest.java
index fbd63e34..3efa04bb 100644
--- 
a/doxia-core/src/test/java/org/apache/maven/doxia/index/IndexingSinkTest.java
+++ 
b/doxia-core/src/test/java/org/apache/maven/doxia/index/IndexingSinkTest.java
@@ -46,7 +46,7 @@ class IndexingSinkTest {
         sink.section2();
         sink.section3();
         sink.sectionTitle3();
-        sink.text("title3");
+        sink.text("Title 3");
         sink.sectionTitle3_();
         sink.section3_();
         sink.section2_();
@@ -76,7 +76,7 @@ class IndexingSinkTest {
         assertIndexEntry("title1", "title1", 1, entry.getFirstEntry());
         assertIndexEntry(null, null, 1, entry.getFirstEntry().getFirstEntry());
         assertIndexEntry(
-                "title3", "title3", 0, 
entry.getFirstEntry().getFirstEntry().getFirstEntry());
+                "Title_3", "Title 3", 0, 
entry.getFirstEntry().getFirstEntry().getFirstEntry());
     }
 
     private void assertIndexEntry(String id, String title, int numChildren, 
IndexEntry entry) {

Reply via email to