gbranden pushed a commit to branch master
in repository groff.

commit 52e3b0878cc2f7fea9bb38b48330651962b46cdc
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Aug 25 19:53:55 2024 -0500

    tmac/tests/an_UR-works.sh: Tweak test style.
---
 tmac/tests/an_UR-works.sh | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/tmac/tests/an_UR-works.sh b/tmac/tests/an_UR-works.sh
index 17c17bc2d..ea87a768d 100755
--- a/tmac/tests/an_UR-works.sh
+++ b/tmac/tests/an_UR-works.sh
@@ -27,7 +27,8 @@ wail() {
     fail=yes
 }
 
-input='.TH foo 1 2022-11-22 "groff test suite"
+input='.
+.TH foo 1 2022-11-22 "groff test suite"
 .SH Name
 foo \- frobnicate a bar
 .SH Description
@@ -38,7 +39,8 @@ figure 1
 .
 Or
 .UR http://\:bar\:.example\:.com
-.UE .'
+.UE .
+.'
 
 output=$(printf "%s\n" "$input" | "$groff" -Tascii -P-cbou -man -rU0)
 echo "$output"
@@ -63,7 +65,8 @@ echo "checking formatting of web URI with no link text" \
     "(ascii device; hyperlinks enabled)" >&2
 echo "$output" | grep -Fq 'Or http://bar.example.com.' || wail
 
-html_input='.TH foo 1 2022-12-04 "groff test suite"
+html_input='.
+.TH foo 1 2022-12-04 "groff test suite"
 .SH Name
 foo \- frobnicate a bar
 .SH "See also"
@@ -71,7 +74,8 @@ For our SOSP presentation,
 check our
 .UR https://\:example\:.com
 website
-.UE .'
+.UE .
+.'
 
 output=$(printf "%s\n" "$html_input" | "$groff" -man -Thtml)
 echo "$output"

_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to