gbranden pushed a commit to branch master
in repository groff.
commit bac4a7ab32dd96a32ed8827ce29b8886f1c891a6
Author: G. Branden Robinson <[email protected]>
AuthorDate: Thu Sep 11 11:50:33 2025 -0500
[groff]: Add test cases for `asciify` of ^A, ^I.
* src/roff/groff/tests/asciify-request-works.sh: Add test cases for
transformation of nodes produced by leaders and tabs.
---
ChangeLog | 5 +++++
src/roff/groff/tests/asciify-request-works.sh | 4 +++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 21c9262da..1441a4e4d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2025-09-11 G. Branden Robinson <[email protected]>
+
+ * src/roff/groff/tests/asciify-request-works.sh: Add test cases
+ for transformation of nodes produced by leaders and tabs.
+
2025-09-11 G. Branden Robinson <[email protected]>
* src/roff/groff/tests/asciify-request-works.sh: Add test case
diff --git a/src/roff/groff/tests/asciify-request-works.sh
b/src/roff/groff/tests/asciify-request-works.sh
index 4345dee4a..c56a9c9aa 100755
--- a/src/roff/groff/tests/asciify-request-works.sh
+++ b/src/roff/groff/tests/asciify-request-works.sh
@@ -29,6 +29,8 @@ wail () {
input='.
.box DIV
.ec #
+foobar baz#" leader, then tab
+.br
.char #[Z] ZYX
A#[dq]#[e aa]#[u00E1]#[u0106]i#[fl]o#[Fl]#[Z]
.br
@@ -49,7 +51,7 @@ output=$(printf "%s\n" "$input" | "$groff" -T ps -a)
echo "$output"
echo "checking textification of ordinary character 'A'" >&2
-echo "$output" | grep -q '^A' || wail
+echo "$output" | grep -q ' A' || wail
echo "checking textification of special character 'dq'" >&2
echo "$output" | grep -q '<dq>' || wail
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit