From 423a9481e468e2a16d52107b427d9e9a32e3de71 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 30 Apr 2023 18:15:51 -0400 Subject: piem-am-ready-mbox: Change spelling of inserted message ID header format-patch switch to using "Message-ID" instead of "Message-Id" in git.git's ba4324c4e1 (e-mail workflow: Message-ID is spelled with ID in both capital letters, 2023-04-03). Update piem--insert-message-id-header to follow Git's change. Message-ID: <20230430221552.251335-4-kyle@kyleam.com> --- tests/piem-tests.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/piem-tests.el b/tests/piem-tests.el index 6f39a53..7f9f30f 100644 --- a/tests/piem-tests.el +++ b/tests/piem-tests.el @@ -181,7 +181,7 @@ (piem--insert-message-id-header "msg@id"))) (should-not (string-match-p - "Message-Id: " + "Message-ID: " (with-temp-buffer (insert "\ From 0d732713af1f3fb48b37430e2cd0a3033cea14f3 Mon Sep 17 00:00:00 2001 @@ -200,9 +200,9 @@ Subject: [PATCH] a (should (string-match-p (concat - (rx "Subject: [PATCH 1/2] a\nMessage-Id: \n" + (rx "Subject: [PATCH 1/2] a\nMessage-ID: \n" (one-or-more anychar) - "Subject: [PATCH 2/2] b\nMessage-Id: \n")) + "Subject: [PATCH 2/2] b\nMessage-ID: \n")) (with-temp-buffer (insert "\ From 0d732713af1f3fb48b37430e2cd0a3033cea14f3 Mon Sep 17 00:00:00 2001 -- cgit v1.2.3