Mercurial > hg
diff tests/test-notify.t @ 43323:84c15836a2d7 stable
py3: account for extra line break in email headers in test-notify.t
Long headers appears to be wrapped with new lines. In test-notify.t, we
have a "filter.py" that replaces "\n" by " ", so we get an extra space
in a Message-Id with a long value.
author | Denis Laxalde <denis.laxalde@logilab.fr> |
---|---|
date | Thu, 24 Oct 2019 16:56:36 +0200 |
parents | d26a6706b070 |
children | 90ee1f61504e |
line wrap: on
line diff
--- a/tests/test-notify.t Thu Oct 10 13:48:30 2019 +0200 +++ b/tests/test-notify.t Thu Oct 24 16:56:36 2019 +0200 @@ -211,7 +211,8 @@ Subject: changeset in $TESTTMP/b: b From: test@example.com X-Hg-Notification: changeset 00a13f371396 - Message-Id: <hg.ba3098a36bd4c297288d16788623a841f81f618ea961a0f0fd65de7eb1191b66@example.com> + Message-Id: <hg.ba3098a36bd4c297288d16788623a841f81f618ea961a0f0fd65de7eb1191b66@example.com> (no-py3 !) + Message-Id: <hg.ba3098a36bd4c297288d16788623a841f81f618ea961a0f0fd65de7eb1191b66@example.com> (py3 !) To: baz@example.com, foo@bar changeset 00a13f371396 in $TESTTMP/b