gbranden pushed a commit to branch master
in repository groff.

commit 06adeef5a2993bed6f30c1744def90460fbcb3f7
Author: G. Branden Robinson <g.branden.robin...@gmail.com>
AuthorDate: Sun Sep 14 19:48:26 2025 -0500

    [groff]: Add test case for `asciify` of `\l`.
    
    * src/roff/groff/tests/asciify-request-works.sh: Add test case for
      transformation of nodes produced by `\l` horizontal rule escape
      sequences.
---
 ChangeLog                                     | 6 ++++++
 src/roff/groff/tests/asciify-request-works.sh | 5 ++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 7dcc07c71..60940850f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2025-09-14  G. Branden Robinson <g.branden.robin...@gmail.com>
+
+       * src/roff/groff/tests/asciify-request-works.sh: Add test case
+       for transformation of nodes produced by `\l` horizontal rule
+       escape sequences.
+
 2025-09-14  G. Branden Robinson <g.branden.robin...@gmail.com>
 
        * src/roff/troff/node.h (class extra_size_node): Declare
diff --git a/src/roff/groff/tests/asciify-request-works.sh 
b/src/roff/groff/tests/asciify-request-works.sh
index 63a371f07..f305486d7 100755
--- a/src/roff/groff/tests/asciify-request-works.sh
+++ b/src/roff/groff/tests/asciify-request-works.sh
@@ -55,7 +55,7 @@ $%antimatter15@$b"hup"16@$c
 .c2 !
 !sp
 .c2
-17@$D"l 1i 1i"18@$x".5v"19@
+17@$D"l 1i 1i"18@$x".5v"19@$l"1i"20@
 .br
 .box
 .asciify DIV2
@@ -151,6 +151,9 @@ echo "$output" | grep -q '17@18' || wail
 echo "checking textification of extra leading escape sequence" >&2
 echo "$output" | grep -q '18@19' || wail
 
+echo "checking textification of horizontal rule escape sequence" >&2
+echo "$output" | grep -q '19@20' || wail
+
 test -z "$fail"
 
 # vim:set autoindent expandtab shiftwidth=2 tabstop=2 textwidth=72:

_______________________________________________
groff-commit mailing list
groff-commit@gnu.org
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to