gbranden pushed a commit to branch master
in repository groff.
commit d0d73e5af4952a9eaf9cfeace4b4ea174a83c497
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Sep 17 22:14:03 2025 -0500
[groff]: Add test case for `asciify` of `\Z`.
* src/roff/groff/tests/asciify-request-works.sh: Add test case for
transformation of nodes produced by `\Z` drawing position reset escape
sequences.
Test fails at this commit.
---
ChangeLog | 6 ++++++
src/roff/groff/tests/asciify-request-works.sh | 7 ++++---
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 50120538e..dae19130d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2025-09-15 G. Branden Robinson <[email protected]>
+
+ * src/roff/groff/tests/asciify-request-works.sh: Add test case
+ for transformation of nodes produced by `\Z` drawing position
+ reset escape sequences.
+
2025-09-17 G. Branden Robinson <[email protected]>
* src/roff/troff/node.h (class suppress_node): Declare
diff --git a/src/roff/groff/tests/asciify-request-works.sh
b/src/roff/groff/tests/asciify-request-works.sh
index 51f20ee91..9d20e4961 100755
--- a/src/roff/groff/tests/asciify-request-works.sh
+++ b/src/roff/groff/tests/asciify-request-works.sh
@@ -55,7 +55,8 @@ $%antimatter15@$b"hup"16@$c
.c2 !
!sp
.c2
-17@$D"l 1i 1i"18@$x".5v"19@$l"1i"20@$L"1i"21@$o"o+"22@$O[0]fnord$O[1]23@
+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"unseen"24@
.br
.box
.asciify DIV2
@@ -160,8 +161,8 @@ echo "$output" | grep -q '20@21' || wail
echo "checking textification of overstriking escape sequence" >&2
echo "$output" | grep -q '21@22' || wail
-echo "checking textification of output suppression escape sequence" >&2
-echo "$output" | grep -q '22@23' || wail
+echo "checking textification of drawing position reset escape sequence" >&2
+echo "$output" | grep -q '23@24' || wail
test -z "$fail"
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit