]> git.notmuchmail.org Git - notmuch/blobdiff - test/test-lib.sh
Clarify usage of `additional_headers' in test/test-lib.sh:generate_message.
[notmuch] / test / test-lib.sh
index d1794265fd33a0e4893ef9c306bba421effc4702..f53617258ae8bfca73642de89b7d39eadad03354 100755 (executable)
@@ -351,8 +351,11 @@ ${additional_headers}"
 ${additional_headers}"
     fi
 
+    # Note that in the way we're setting it above and using it below,
+    # `additional_headers' will also serve as the header / body separator
+    # (empty line in between).
 
-cat <<EOF >"$gen_msg_filename"
+    cat <<EOF >"$gen_msg_filename"
 From: ${template[from]}
 To: ${template[to]}
 Message-Id: <${gen_msg_id}>