[PATCH 2 of 2] test-encoding: rewrite utf8b fuzz testing as python inlines
Pierre-Yves David
pierre-yves.david at ens-lyon.org
Mon Nov 16 21:56:39 UTC 2015
On 11/09/2015 06:41 AM, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1447076944 -32400
> # Mon Nov 09 22:49:04 2015 +0900
> # Node ID 67bc69088f4fd921e9bc2353524ec0b2c61eb4bd
> # Parent a7e586cc8587d3e4a0bbf607d5b902a988cb5bc8
> test-encoding: rewrite utf8b fuzz testing as python inlines
>
> We generally prefer putting a test code and its result in the same file.
I'm not sure about this patch, the idea is to make it easy to do
roundtrip testing in other tests. Sure the code is small but it still
seems to make sense to factorize the function for maintainance purpose.
What do you think?
--
Pierre-Yves David
More information about the Mercurial-devel
mailing list