gbranden pushed a commit to branch master
in repository groff.
commit eab9d76386a5786fd2a2baab477a6abc1be12782
Author: G. Branden Robinson <[email protected]>
AuthorDate: Thu Sep 11 11:19:49 2025 -0500
[groff]: Add test case for `asciify` of `\a`.
* src/roff/groff/tests/asciify-request-works.sh: Add test case for
transformation of node produced by `\a` (uninterpreted leader) escape
sequence.
---
ChangeLog | 6 ++++++
src/roff/groff/tests/asciify-request-works.sh | 6 +++++-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index b01220604..21c9262da 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 `\a` (uninterpreted
+ leader) escape sequence.
+
2025-09-11 G. Branden Robinson <[email protected]>
[troff]: "Asciify" token nodes as nothing. Token nodes are used
diff --git a/src/roff/groff/tests/asciify-request-works.sh
b/src/roff/groff/tests/asciify-request-works.sh
index a2b7ac6da..4345dee4a 100755
--- a/src/roff/groff/tests/asciify-request-works.sh
+++ b/src/roff/groff/tests/asciify-request-works.sh
@@ -36,7 +36,8 @@ 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@# 10@#~11@#:12@
+.ds leader #a#"
+5@#X"bar"6@#v".5v"7@#*[tab]8@#h"2m"9@# 10@#~11@#:12@#*[leader]13@
.ec
.br
.box
@@ -108,6 +109,9 @@ echo "$output" | grep -q "10@ 11" || wail
echo "checking textification of hyphenless break point escape sequence" >&2
echo "$output" | grep -q "11@12" || wail
+echo "checking textification of uninterpreted leader escape sequence" >&2
+echo "$output" | grep -q "12@13" || 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