groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 20/23: [mm]: Fix derpy error in a test script.


From: G. Branden Robinson
Subject: [groff] 20/23: [mm]: Fix derpy error in a test script.
Date: Wed, 16 Oct 2024 15:00:30 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 0d2fb4afa97f088fa526c77f677c4e473906eeb2
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue Oct 15 16:42:42 2024 -0500

    [mm]: Fix derpy error in a test script.
    
    We're testing the `LT` macro here, not `MT`--copy-n-waste.
    
    Also dial formatter warnings to maximum.
---
 contrib/mm/tests/letters-format-correctly.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/mm/tests/letters-format-correctly.sh 
b/contrib/mm/tests/letters-format-correctly.sh
index aa9d09e12..991a35775 100755
--- a/contrib/mm/tests/letters-format-correctly.sh
+++ b/contrib/mm/tests/letters-format-correctly.sh
@@ -63,9 +63,9 @@ input="$examples_dir"/letter.mm
 
 for t in BL SB FB SP
 do
-    echo "checking formatting of MT type '$t'" >&2
+    echo "checking formatting of LT type '$t'" >&2
     expected=$(cksum "$artifacts_dir"/letter.$t | cut -d' ' -f1-2)
-    actual=$("$groff" -mm -dlT=$t -Tascii -P-cbou "$input" | cksum \
+    actual=$("$groff" -ww -mm -dlT=$t -Tascii -P-cbou "$input" | cksum \
         | cut -d' ' -f1-2)
     test "$actual" = "$expected" || wail
 done



reply via email to

[Prev in Thread] Current Thread [Next in Thread]