gbranden pushed a commit to branch master
in repository groff.

commit 5be6123a810216402dcfb897b61ea20ca0ef8f87
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon May 4 18:29:49 2026 -0500

    [groff]: Test asciify on italic correction nodes.
    
    * src/roff/groff/tests/asciify-request-works.sh: Unit-test asciification
      of (left and regular) italic correction nodes.
---
 ChangeLog                                     | 5 +++++
 src/roff/groff/tests/asciify-request-works.sh | 9 ++++++++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index c08567ec6..dbd121caa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2026-05-04  G. Branden Robinson <[email protected]>
+
+       * src/roff/groff/tests/asciify-request-works.sh: Unit-test
+       asciification of (left and regular) italic correction nodes.
+
 2026-05-04  G. Branden Robinson <[email protected]>
 
        * src/roff/groff/tests/asciify-request-works.sh: Test sample
diff --git a/src/roff/groff/tests/asciify-request-works.sh 
b/src/roff/groff/tests/asciify-request-works.sh
index b95e746de..2a2d5e6be 100755
--- a/src/roff/groff/tests/asciify-request-works.sh
+++ b/src/roff/groff/tests/asciify-request-works.sh
@@ -79,7 +79,8 @@ $%antimatter15@$b"hup"16@$c
 17@$D"l 1i 1i"18@$x".5v"19@$l"1i"20@$L"1i"21@$o"o+"22@$
 $O[0]fnord$O[1]23@$Z"visible"24@$c
 '"'trf $artifact_dir/throughput-file"'
-25@
+25@$c
+roman$,$f[I]italic$f[]$/normal@26
 .br
 .box
 .asciify DIV2
@@ -203,6 +204,12 @@ do
     echo "checking textification of diverted 'trf' request" >&2
     echo "$output" | grep -q "$comment" && wail
     echo "$output" | grep -q '24@25' || wail
+
+    echo "checking textification of left italic correction escape sequence" >&2
+    echo "$output" | grep -q "25@ro" || wail
+
+    echo "checking textification of italic correction escape sequence" >&2
+    echo "$output" | grep -q "talicnormal@26" || wail
 done
 
 test -z "$fail"

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to