X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/13015c3c27462cb98027d644636ff526e10dd1d0..3d4623ef62a6ee5b91e3b20e5ed4c938ebba2b05:/test/comp/test-comp-format?ds=sidebyside diff --git a/test/comp/test-comp-format b/test/comp/test-comp-format index 30747c72..a7bc502f 100755 --- a/test/comp/test-comp-format +++ b/test/comp/test-comp-format @@ -69,6 +69,7 @@ fcc1="+nosuchmailbox" fcc2="+nosuchmailbox2" subject="Totally bogus subject" +start_test 'check -from, -to, -cc, -fcc, and -subject switches' cat > $expected < $form <%(void(width))%(putaddr From: ) +%<{to}%(void(width))%(putaddr To: )%|To:%> +%<{cc}%(void(width))%(putaddr cc: )%|cc:%> +Subject:%<{subject} %(putstr)%> +-------- +EOF +#### There won't be an Fcc: header because there isn't one in the components. +cat > $expected <