gbranden pushed a commit to branch master
in repository groff.
commit c77272d29e426048d495391730bf4911b357a1f8
Author: G. Branden Robinson <[email protected]>
AuthorDate: Thu Sep 11 10:34:42 2025 -0500
[groff]: Add test case for `asciify` of `\:`.
* src/roff/groff/tests/asciify-request-works.sh: Add test case for
transformation of node produced by `\:` (hyphenless breakpoint) escape
sequence.
---
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 2d64b793f..f79ad5749 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 `\:` (hyphenless
+ breakpoint) escape sequence.
+
2025-09-11 G. Branden Robinson <[email protected]>
* src/roff/troff/node.cpp (unbreakable_space_node::asciify):
diff --git a/src/roff/groff/tests/asciify-request-works.sh
b/src/roff/groff/tests/asciify-request-works.sh
index e080f3ca3..a2b7ac6da 100755
--- a/src/roff/groff/tests/asciify-request-works.sh
+++ b/src/roff/groff/tests/asciify-request-works.sh
@@ -36,7 +36,7 @@ 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@
+5@#X"bar"6@#v".5v"7@#*[tab]8@#h"2m"9@# 10@#~11@#:12@
.ec
.br
.box
@@ -105,6 +105,9 @@ echo "$output" | grep -q "9@ 10" || wail
echo "checking textification of unbreakable space escape sequence" >&2
echo "$output" | grep -q "10@ 11" || wail
+echo "checking textification of hyphenless break point escape sequence" >&2
+echo "$output" | grep -q "11@12" || 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