gbranden pushed a commit to branch master
in repository groff.

commit 1b80436f64e52f7f5bc844c56f86e663c16e00fb
Author: G. Branden Robinson <[email protected]>
AuthorDate: Thu Sep 11 10:00:17 2025 -0500

    [groff]: Add test case for `asciify` of `\ `.
    
    * src/roff/groff/tests/asciify-request-works.sh: Add test case for
      transformation of node produced by `\ ` (unadjustable space) escape
      sequence.
---
 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 e4f905718..52f83cef7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2025-09-11  G. Branden Robinson <[email protected]>
+
+       * src/roff/groff/tests/asciify-request-works.sh: Add test case
+       for transformation of node produced by `\ ` (unadjustable space)
+       escape sequence.
+
 2025-09-09  G. Branden Robinson <[email protected]>
 
        * src/roff/troff/node.cpp (hmotion_node::asciify): Stop
diff --git a/src/roff/groff/tests/asciify-request-works.sh 
b/src/roff/groff/tests/asciify-request-works.sh
index 4716dfd6d..9a15eb155 100755
--- a/src/roff/groff/tests/asciify-request-works.sh
+++ b/src/roff/groff/tests/asciify-request-works.sh
@@ -36,7 +36,7 @@ A#[dq]#[e aa]#[u00E1]#[u0106]i#[fl]o#[Fl]#[Z]
 4@#c
 .tag foo
 .ds tab #t#"
-5@#X"bar"6@#v".5v"7@#*[tab]8@#h"2m"9@
+5@#X"bar"6@#v".5v"7@#*[tab]8@#h"2m"9@# 10@
 .ec
 .br
 .box
@@ -99,6 +99,9 @@ echo "$output" | grep -q "7@8" || wail
 echo "checking textification of (plain) horizontal motion escape sequence" >&2
 echo "$output" | grep -q "8@9" || wail
 
+echo "checking textification of unadjustable space escape sequence" >&2
+echo "$output" | grep -q "9@ 10" || wail
+
 test -z "$fail"
 
 # vim:set autoindent expandtab shiftwidth=2 tabstop=2 textwidth=72:

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

Reply via email to