gbranden pushed a commit to branch master
in repository groff.
commit cb4f3a48e0c372892a327b35c6412e05c9e4d274
Author: G. Branden Robinson <[email protected]>
AuthorDate: Thu Sep 11 16:04:37 2025 -0500
[groff]: Add test case for `asciify` of `\b`.
* src/roff/groff/tests/asciify-request-works.sh: Add test case for
transformation of nodes produced by `\b` (bracket-building escape
sequence).
Test fails at this commit.
---
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 96c429231..f36640b78 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 nodes produced by `\b` (bracket-building
+ escape sequence).
+
2025-09-11 G. Branden Robinson <[email protected]>
[troff]: Refactor. Explicitly "asciify" hyphen inhibitor nodes
diff --git a/src/roff/groff/tests/asciify-request-works.sh
b/src/roff/groff/tests/asciify-request-works.sh
index 159e2465d..13e0e34cb 100755
--- a/src/roff/groff/tests/asciify-request-works.sh
+++ b/src/roff/groff/tests/asciify-request-works.sh
@@ -49,7 +49,7 @@ A#[dq]#[e aa]#[u00E1]#[u0106]i#[fl]o#[Fl]#[Z]
.br
.ec $
.box DIV2
-$%antimatter15@
+$%antimatter15@$b"hup"16@
.br
.box
.asciify DIV2
@@ -133,6 +133,9 @@ echo "$output" | grep -q '13@jat14' || wail
echo "checking textification of hyphenation inhibitor escape sequence" >&2
echo "$output" | grep -q '^antimatter15' || wail
+echo "checking textification of bracket-building escape sequence" >&2
+echo "$output" | grep -q '15@16' || 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