gbranden pushed a commit to branch master
in repository groff.

commit 26566309c1be6ab99846281e52fa320866fa3bf2
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Jan 10 06:09:08 2026 -0600

    [pic]: Cosmetically improve test script.
    
    Break long input lines with backslash-newline.
    
    Put closing quote in shell variable assignment on its own line so that
    it is easy to copy-and-paste the whole test exhibit elsewhere for
    further experimentation.
---
 .../pic/tests/do-not-crash-when-reading-macro-arguments.sh        | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/preproc/pic/tests/do-not-crash-when-reading-macro-arguments.sh 
b/src/preproc/pic/tests/do-not-crash-when-reading-macro-arguments.sh
index 84b2e993c..d0edad343 100755
--- a/src/preproc/pic/tests/do-not-crash-when-reading-macro-arguments.sh
+++ b/src/preproc/pic/tests/do-not-crash-when-reading-macro-arguments.sh
@@ -65,8 +65,12 @@ define jumperblock {
 # Sample macro invocations
 jumperblock(1,1,0,0,1,0);
 move;
-jumperblock(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,,0AAAA,1AAAB,,,,,,7AAAH,,9AAAJA,10AAAK,11AAAL,12AAAM,13AAAN,14AAAO,15AAAP,16AAAQ,17AAAR,18AAAS,19AAAT,20AAAU,21AAAAAAV);
-.PE'
+jumperblock(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,\
+            23,24,25,26,27,28,29,30,31,,0AAAA,1AAAB,,,,,,7AAAH,,9AAAJA,\
+            10AAAK,11AAAL,12AAAM,13AAAN,14AAAO,15AAAP,16AAAQ,17AAAR,\
+            18AAAS,19AAAT,20AAAU,21AAAAAAV);
+.PE
+'
 
 echo "$input" | "$pic"
 ! test -f core

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

Reply via email to