gbranden pushed a commit to branch master
in repository groff.
commit 7ca553428ce4ef4dfc0573227725ca4927c7abee
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Sep 14 19:25:30 2025 -0500
[groff]: Add test case for `asciify` of `\D`.
* src/roff/groff/tests/asciify-request-works.sh: Add test case for
transformation of nodes produced by `\D` drawing 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 5ea843026..70a701054 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2025-09-14 G. Branden Robinson <[email protected]>
+
+ * src/roff/groff/tests/asciify-request-works.sh: Add test case
+ for transformation of nodes produced by `\D` drawing escape
+ sequences.
+
2025-09-14 G. Branden Robinson <[email protected]>
* src/roff/troff/node.h (class diverted_space_node): Declare
diff --git a/src/roff/groff/tests/asciify-request-works.sh
b/src/roff/groff/tests/asciify-request-works.sh
index 567348444..452f22273 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@
+17@$D"l 1i 1i"18@
.br
.box
.asciify DIV2
@@ -145,6 +145,9 @@ echo "$output" | grep -q '15@16' || wail
echo "checking textification of diverted 'sp' request" >&2
echo "$output" | grep -q '16@17' || wail
+echo "checking textification of drawing escape sequence" >&2
+echo "$output" | grep -q '17@18' || 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