gbranden pushed a commit to branch master
in repository groff.
commit 465b0a96e0ea9bbfad486b8957ac8f23b473e0cc
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Jul 25 14:54:33 2025 -0500
[man]: Fix nits in new test script.
* Drop debugging detritus.
* Annotate expected output.
---
tmac/tests/an-ext_synopses_do_not_automatically_adjust.sh | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/tmac/tests/an-ext_synopses_do_not_automatically_adjust.sh
b/tmac/tests/an-ext_synopses_do_not_automatically_adjust.sh
index cc7e638c3..9a98af217 100755
--- a/tmac/tests/an-ext_synopses_do_not_automatically_adjust.sh
+++ b/tmac/tests/an-ext_synopses_do_not_automatically_adjust.sh
@@ -25,12 +25,9 @@ input='.
.SH Name
foo \- frobnicate a bar
.SH Synopsis
-.tm GBR1: doc: .j=\n(.j
.ad l
-.tm GBR2: doc: .j=\n(.j
.br
.B void *\c
-.tm GBR3: doc: .j=\n(.j
.SY bsearch (
.BI int\~ one ,
.BI int\~ two ,
@@ -48,6 +45,17 @@ foo \- frobnicate a bar
# Expected output:
#
+# foo(3) Library Functions Manual foo(3)
+#
+# Name
+# foo - frobnicate a bar
+#
+# Synopsis
+# void *bsearch(int one, int two, int three, int four, int five,
+# int six, int seven, int eight, int nine, int ten,
+# int eleven);
+#
+# groff test suite 2025-07-24 foo(3)
output=$(printf "%s\n" "$input" \
| "$groff" -rLL=70n -man -Tascii -P-cbou)
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit