aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2023-04-30 18:15:51 -0400
committerKyle Meyer <kyle@kyleam.com>2023-04-30 20:26:51 -0400
commit423a9481e468e2a16d52107b427d9e9a32e3de71 (patch)
treeaeb78dbd7b4edd49ecd2b3539a0524449f489fe9 /tests
parent9d764049a83cbc8519792760ea8807aec5e0f6ac (diff)
downloadpiem-423a9481e468e2a16d52107b427d9e9a32e3de71.tar.gz
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>
Diffstat (limited to 'tests')
-rw-r--r--tests/piem-tests.el6
1 files changed, 3 insertions, 3 deletions
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: <msg@id>"
+ "Message-ID: <msg@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: <msg@id>\n"
+ (rx "Subject: [PATCH 1/2] a\nMessage-ID: <msg@id>\n"
(one-or-more anychar)
- "Subject: [PATCH 2/2] b\nMessage-Id: <msg@id>\n"))
+ "Subject: [PATCH 2/2] b\nMessage-ID: <msg@id>\n"))
(with-temp-buffer
(insert "\
From 0d732713af1f3fb48b37430e2cd0a3033cea14f3 Mon Sep 17 00:00:00 2001