This is an archive of the discontinued Mercurial Phabricator instance.

tests: handle In-Reply-To headers for line wrapping
ClosedPublic

Authored by joerg.sonnenberger on Feb 26 2020, 4:26 PM.

Details

Summary

Python 3 tends to insert a newline for both Message-ID and In-Reply-To
headers, so unwrap both. Just check the wrapped line format explicitly
without regular expression.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

marmoute accepted this revision.Feb 28 2020, 10:56 AM
marmoute added a subscriber: marmoute.

If the test are happy, I guess we are.

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.